[OpenBIOS] [PATCH 0/6] Improve network device support (with a bit of PCI map work)

Mark Cave-Ayland mark.cave-ayland at ilande.co.uk
Wed Sep 6 21:21:35 CEST 2017


Now that QEMU 2.10 is out, here's the next set of patches in preparation
for improving the NIC support for PPC Mac machines (sungem) and sun4u
machines (sunhme).

Also included is a little rework of the Forth ob_pci_bus_map_in() so PCI
BARs can be mapped within the various _cb C functions which is needed to
extract the MAC address from the sungem hardware and add it to the DT.

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


Mark Cave-Ayland (6):
  pci: move pci_decode_pci_addr() towards the top of pci.c
  pci: split the PCI mapping code out of ob_pci_bus_map_in() into
    ob_pci_map()
  pci: add basic support for Apple SunGEM
  pci: add ob_pci_unmap() to unmap PCI memory
  pci: add SUN hme network device
  pci: add Intel e1000 network device to PCI database

 drivers/pci.c          |  134 ++++++++++++++++++++++++++++++++++--------------
 drivers/pci_database.c |   18 +++++++
 drivers/pci_database.h |    2 +
 include/drivers/pci.h  |    3 ++
 4 files changed, 118 insertions(+), 39 deletions(-)

-- 
1.7.10.4




More information about the OpenBIOS mailing list