qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/1] net: Add SunGEM device emulation as found on Apple UniNorth
@ 2017-09-04 18:39 Mark Cave-Ayland
  2017-09-04 18:39 ` [Qemu-devel] [PATCH 1/1] " Mark Cave-Ayland
  0 siblings, 1 reply; 7+ messages in thread
From: Mark Cave-Ayland @ 2017-09-04 18:39 UTC (permalink / raw)
  To: qemu-devel, qemu-ppc, david, benh

This is a reworking of Ben's original implementation of the SunGEM device
from last year: https://lists.gnu.org/archive/html/qemu-devel/2016-08/msg02571.html.

The reason for implenting this device is that it allows out-of-the-box
networking for most MacOS 9 and MacOS X OSs running under qemu-system-ppc without
having to obtain any external vendor drivers.

The main changes I've made to Ben's original patch are listed below:
    - Remove sungem.h file, moving constants into sungem.c as required
    - Switch to using tracepoints for debugging
    - Split register blocks into separate memory regions
    - Use arrays in SunGEMState to hold register values
    - Add state-saving support

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>


Benjamin Herrenschmidt (1):
  net: Add SunGEM device emulation as found on Apple UniNorth

 default-configs/ppc-softmmu.mak |    1 +
 hw/net/Makefile.objs            |    1 +
 hw/net/sungem.c                 | 1447 +++++++++++++++++++++++++++++++++++++++
 hw/net/trace-events             |   44 ++
 hw/pci/pci.c                    |    2 +
 include/hw/pci/pci_ids.h        |    1 +
 6 files changed, 1496 insertions(+)
 create mode 100644 hw/net/sungem.c

-- 
1.7.10.4

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-09-06 17:54 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-04 18:39 [Qemu-devel] [PATCH 0/1] net: Add SunGEM device emulation as found on Apple UniNorth Mark Cave-Ayland
2017-09-04 18:39 ` [Qemu-devel] [PATCH 1/1] " Mark Cave-Ayland
2017-09-05  1:13   ` David Gibson
2017-09-06  3:16     ` David Gibson
2017-09-06  5:21       ` Mark Cave-Ayland
2017-09-06  6:56         ` David Gibson
2017-09-06 17:54           ` Mark Cave-Ayland

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).