{"id":809787,"url":"http://patchwork.ozlabs.org/api/1.0/covers/809787/?format=json","project":{"id":14,"url":"http://patchwork.ozlabs.org/api/1.0/projects/14/?format=json","name":"QEMU Development","link_name":"qemu-devel","list_id":"qemu-devel.nongnu.org","list_email":"qemu-devel@nongnu.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<1504550378-2291-1-git-send-email-mark.cave-ayland@ilande.co.uk>","date":"2017-09-04T18:39:37","name":"[0/1] net: Add SunGEM device emulation as found on Apple UniNorth","submitter":{"id":12451,"url":"http://patchwork.ozlabs.org/api/1.0/people/12451/?format=json","name":"Mark Cave-Ayland","email":"mark.cave-ayland@ilande.co.uk"},"series":[{"id":1442,"url":"http://patchwork.ozlabs.org/api/1.0/series/1442/?format=json","date":"2017-09-04T18:39:37","name":"net: Add SunGEM device emulation as found on Apple UniNorth","version":1,"mbox":"http://patchwork.ozlabs.org/series/1442/mbox/"}],"headers":{"Return-Path":"<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":"ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=nongnu.org\n\t(client-ip=2001:4830:134:3::11; helo=lists.gnu.org;\n\tenvelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org;\n\treceiver=<UNKNOWN>)","Received":["from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11])\n\t(using TLSv1 with cipher AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xmJZ34FnYz9sRm\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue,  5 Sep 2017 04:40:27 +1000 (AEST)","from localhost ([::1]:55208 helo=lists.gnu.org)\n\tby lists.gnu.org with esmtp (Exim 4.71) (envelope-from\n\t<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>)\n\tid 1dowIL-0000o0-O6\n\tfor incoming@patchwork.ozlabs.org; Mon, 04 Sep 2017 14:40:25 -0400","from eggs.gnu.org ([2001:4830:134:3::10]:57033)\n\tby lists.gnu.org with esmtp (Exim 4.71)\n\t(envelope-from <mark.cave-ayland@ilande.co.uk>) id 1dowHr-0000i5-9c\n\tfor qemu-devel@nongnu.org; Mon, 04 Sep 2017 14:40:00 -0400","from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)\n\t(envelope-from <mark.cave-ayland@ilande.co.uk>) id 1dowHm-0006x7-9C\n\tfor qemu-devel@nongnu.org; Mon, 04 Sep 2017 14:39:55 -0400","from chuckie.co.uk ([82.165.15.123]:41338\n\thelo=s16892447.onlinehome-server.info)\n\tby eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)\n\t(Exim 4.71) (envelope-from <mark.cave-ayland@ilande.co.uk>)\n\tid 1dowHm-0006wA-2V; Mon, 04 Sep 2017 14:39:50 -0400","from host109-152-7-45.range109-152.btcentralplus.com\n\t([109.152.7.45]\n\thelo=kentang.home) by s16892447.onlinehome-server.info with esmtpsa\n\t(TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.76)\n\t(envelope-from <mark.cave-ayland@ilande.co.uk>)\n\tid 1dowHm-0006eE-FU; Mon, 04 Sep 2017 19:39:51 +0100"],"From":"Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>","To":"qemu-devel@nongnu.org, qemu-ppc@nongnu.org, david@gibson.dropbear.id.au, \n\tbenh@kernel.crashing.org","Date":"Mon,  4 Sep 2017 19:39:37 +0100","Message-Id":"<1504550378-2291-1-git-send-email-mark.cave-ayland@ilande.co.uk>","X-Mailer":"git-send-email 1.7.10.4","X-SA-Exim-Connect-IP":"109.152.7.45","X-SA-Exim-Mail-From":"mark.cave-ayland@ilande.co.uk","X-SA-Exim-Version":"4.2.1 (built Sun, 08 Jan 2012 02:45:44 +0000)","X-SA-Exim-Scanned":"Yes (on s16892447.onlinehome-server.info)","X-detected-operating-system":"by eggs.gnu.org: GNU/Linux 3.x [fuzzy]","X-Received-From":"82.165.15.123","Subject":"[Qemu-devel] [PATCH 0/1] net: Add SunGEM device emulation as found\n\ton Apple UniNorth","X-BeenThere":"qemu-devel@nongnu.org","X-Mailman-Version":"2.1.21","Precedence":"list","List-Id":"<qemu-devel.nongnu.org>","List-Unsubscribe":"<https://lists.nongnu.org/mailman/options/qemu-devel>,\n\t<mailto:qemu-devel-request@nongnu.org?subject=unsubscribe>","List-Archive":"<http://lists.nongnu.org/archive/html/qemu-devel/>","List-Post":"<mailto:qemu-devel@nongnu.org>","List-Help":"<mailto:qemu-devel-request@nongnu.org?subject=help>","List-Subscribe":"<https://lists.nongnu.org/mailman/listinfo/qemu-devel>,\n\t<mailto:qemu-devel-request@nongnu.org?subject=subscribe>","Errors-To":"qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org","Sender":"\"Qemu-devel\"\n\t<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>"},"content":"This is a reworking of Ben's original implementation of the SunGEM device\nfrom last year: https://lists.gnu.org/archive/html/qemu-devel/2016-08/msg02571.html.\n\nThe reason for implenting this device is that it allows out-of-the-box\nnetworking for most MacOS 9 and MacOS X OSs running under qemu-system-ppc without\nhaving to obtain any external vendor drivers.\n\nThe main changes I've made to Ben's original patch are listed below:\n    - Remove sungem.h file, moving constants into sungem.c as required\n    - Switch to using tracepoints for debugging\n    - Split register blocks into separate memory regions\n    - Use arrays in SunGEMState to hold register values\n    - Add state-saving support\n\nSigned-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>\n\n\nBenjamin Herrenschmidt (1):\n  net: Add SunGEM device emulation as found on Apple UniNorth\n\n default-configs/ppc-softmmu.mak |    1 +\n hw/net/Makefile.objs            |    1 +\n hw/net/sungem.c                 | 1447 +++++++++++++++++++++++++++++++++++++++\n hw/net/trace-events             |   44 ++\n hw/pci/pci.c                    |    2 +\n include/hw/pci/pci_ids.h        |    1 +\n 6 files changed, 1496 insertions(+)\n create mode 100644 hw/net/sungem.c"}