[Qemu-devel] [PATCH 0/2] sun4u: add Sun HME (Happy Meal Ethernet) on-board NIC

Mark Cave-Ayland posted 2 patches 6 years, 7 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/1504879106-2225-1-git-send-email-mark.cave-ayland@ilande.co.uk
Test checkpatch passed
Test docker passed
Test s390x passed
default-configs/sparc64-softmmu.mak |    1 +
hw/net/Makefile.objs                |    1 +
hw/net/sunhme.c                     |  978 +++++++++++++++++++++++++++++++++++
hw/net/trace-events                 |   29 ++
hw/sparc64/sun4u.c                  |   25 +-
include/hw/net/mii.h                |    4 +
include/hw/pci/pci_ids.h            |    1 +
7 files changed, 1035 insertions(+), 4 deletions(-)
create mode 100644 hw/net/sunhme.c
[Qemu-devel] [PATCH 0/2] sun4u: add Sun HME (Happy Meal Ethernet) on-board NIC
Posted by Mark Cave-Ayland 6 years, 7 months ago
Only a few OSs contain support for QEMU's in-built PCI NICs as they were
very rarely used with sun4u hardware and so either aren't compiled in by
default or fail because of endian issues.

This patchset implements the Sun HME (Happy Meal Ethernet) NIC for sun4u, a
common in-built NIC to provide out-of-the-box networking for nearly all
OSs and then makes it the default for sun4u machines.

The remaining hold-outs in my tests are OpenBSD and OpenSolaris, however
this is because they map PCI space differently using a feature which isn't
yet implemented in QEMU's sun4u MMU code.

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


Mark Cave-Ayland (2):
  net: add Sun HME (Happy Meal Ethernet) on-board NIC
  sun4u: use sunhme as default on-board NIC

 default-configs/sparc64-softmmu.mak |    1 +
 hw/net/Makefile.objs                |    1 +
 hw/net/sunhme.c                     |  978 +++++++++++++++++++++++++++++++++++
 hw/net/trace-events                 |   29 ++
 hw/sparc64/sun4u.c                  |   25 +-
 include/hw/net/mii.h                |    4 +
 include/hw/pci/pci_ids.h            |    1 +
 7 files changed, 1035 insertions(+), 4 deletions(-)
 create mode 100644 hw/net/sunhme.c

-- 
1.7.10.4