Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/arch



Module Name:    src
Committed By:   mrg
Date:           Fri Jan 11 05:18:58 UTC 2008

Modified Files:
        src/sys/arch/ofppc/conf: std.ofppc
        src/sys/arch/ofppc/pci: pegasospci.c
        src/sys/arch/powerpc/pci: pci_machdep_ofw.c

Log Message:
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!


To generate a diff of this commit:
cvs rdiff -r1.12 -r1.13 src/sys/arch/ofppc/conf/std.ofppc
cvs rdiff -r1.10 -r1.11 src/sys/arch/ofppc/pci/pegasospci.c
cvs rdiff -r1.6 -r1.7 src/sys/arch/powerpc/pci/pci_machdep_ofw.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index