NetBSD/sys/arch/powerpc/pci
mrg 626bd12a5c enable PCI_NETBSD_CONFIGURE for ofppc.
the call to pci_configure_bus(9) and it's supporting code is
copied verbatim from the prep port.

this allows us to completely remove the really gross pegasos
specific pegasospci_indirect_attach_hook() that set various
pci command regs, since all those devices (mostly work now,
see below) and additionally PCI plugin cards work now too.

it also makes the pegasos onboard vr(4) ethernet work with
disk boot (it previously only worked with netboot.)

in the generic macppc ofw pci conf hook and for pegasos,
don't configure the viaide(4) device, and don't configure
memory space on the fwohci(4) device.


with this, and my other recent ofppc/ppc changes the pegasos
port is mostly functional.  the marvell gige is not working,
and my 512mb appears as only about 256mb, but otherwise
this port is almost done!
2008-01-11 05:18:58 +00:00
..
pchb.c
pci_machdep_common.c get rid of macppc's private pci_bus_dma_tag 2007-12-25 17:55:10 +00:00
pci_machdep_ofw.c enable PCI_NETBSD_CONFIGURE for ofppc. 2008-01-11 05:18:58 +00:00
pcib.c
pciconf_indirect.c
pciconf_ofmethod.c