Subject: CVS commit: src/sys/arch
To: None <source-changes@NetBSD.org>
From: Tim Rightnour <garbled@netbsd.org>
List: source-changes
Date: 10/25/2007 16:55:51
Module Name: src
Committed By: garbled
Date: Thu Oct 25 16:55:51 UTC 2007
Modified Files:
src/sys/arch/ofppc/conf: GENERIC files.ofppc
src/sys/arch/ofppc/include: autoconf.h
src/sys/arch/ofppc/ofppc: machdep.c mainbus.c
src/sys/arch/ofppc/pci: ofwpci.c
src/sys/arch/powerpc/include: pci_machdep.h
src/sys/arch/powerpc/oea: ofwoea_machdep.c
src/sys/arch/powerpc/pci: pci_machdep_ofw.c
src/sys/arch/powerpc/powerpc: rtas.c
Added Files:
src/sys/arch/ofppc/pci: pegasospci.c
src/sys/arch/powerpc/pci: pciconf_ofmethod.c
Log Message:
Add a bunch of fixes and minor rewrites to ofppc to bring it closer to
working properly. This is still a work in progress, and all work so far
has been based on the PegasosII machne.
1) Rewrite how the ISA memory and IO space maps are found. More work
will still need to be done in this area.
2) Add a new OFW method of pci configuration. So far I can only get this
to work on the primary PCI bus on the Pegasos. Unsure if this is a
pegasos bug or a code bug.
3) Add the rtas device to ofppc, and add an "rtas_reboot" function to
rtas to allow me to reboot the PegasosII. The rtas driver works, and is
a great start but needs to be changed slightly to allow easier access to
the functions from outside the driver.
4) Fix a number of bugs that existed in the shared PCI code for ofw that
probably weren't tickled by macppc.
There is much much more left to do here, this is all still a work in
progress, but this commit will allow other people to play around with the
code if they want to.
To generate a diff of this commit:
cvs rdiff -r1.100 -r1.101 src/sys/arch/ofppc/conf/GENERIC
cvs rdiff -r1.28 -r1.29 src/sys/arch/ofppc/conf/files.ofppc
cvs rdiff -r1.6 -r1.7 src/sys/arch/ofppc/include/autoconf.h
cvs rdiff -r1.94 -r1.95 src/sys/arch/ofppc/ofppc/machdep.c
cvs rdiff -r1.14 -r1.15 src/sys/arch/ofppc/ofppc/mainbus.c
cvs rdiff -r1.2 -r1.3 src/sys/arch/ofppc/pci/ofwpci.c
cvs rdiff -r0 -r1.1 src/sys/arch/ofppc/pci/pegasospci.c
cvs rdiff -r1.2 -r1.3 src/sys/arch/powerpc/include/pci_machdep.h
cvs rdiff -r1.2 -r1.3 src/sys/arch/powerpc/oea/ofwoea_machdep.c
cvs rdiff -r1.2 -r1.3 src/sys/arch/powerpc/pci/pci_machdep_ofw.c
cvs rdiff -r0 -r1.1 src/sys/arch/powerpc/pci/pciconf_ofmethod.c
cvs rdiff -r1.1 -r1.2 src/sys/arch/powerpc/powerpc/rtas.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.