qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCHv2 0/1] net: Add SunGEM device emulation as found on Apple UniNorth
@ 2017-09-06 18:19 Mark Cave-Ayland
  2017-09-06 18:19 ` [Qemu-devel] [PATCHv2 1/1] " Mark Cave-Ayland
  0 siblings, 1 reply; 3+ messages in thread
From: Mark Cave-Ayland @ 2017-09-06 18:19 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>

v2
- Fix tracepoints for trace backends outside of QEMU
- Introduce PCI_BASE_ADDRESS_SPACE_MEMORY instead of using the value 0 directly


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] 3+ messages in thread

end of thread, other threads:[~2017-09-09  6:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-06 18:19 [Qemu-devel] [PATCHv2 0/1] net: Add SunGEM device emulation as found on Apple UniNorth Mark Cave-Ayland
2017-09-06 18:19 ` [Qemu-devel] [PATCHv2 1/1] " Mark Cave-Ayland
2017-09-09  3:50   ` David Gibson

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).