summaryrefslogtreecommitdiffstats
path: root/sys/conf/files.sparc64
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2007-06-18 21:49:42 +0000
committermarius <marius@FreeBSD.org>2007-06-18 21:49:42 +0000
commitd1ccb2d7c785a4111ecde1ed4493572d8c7e6b0b (patch)
tree967421577f0cba4602a476185885c29ead6b6624 /sys/conf/files.sparc64
parent5af2c4982c0f7030084988f19a669c74fcd12a07 (diff)
downloadFreeBSD-src-d1ccb2d7c785a4111ecde1ed4493572d8c7e6b0b.zip
FreeBSD-src-d1ccb2d7c785a4111ecde1ed4493572d8c7e6b0b.tar.gz
- Move ofw_pci_alloc_busno() to the ofw_pci KOBJ interface,
allowing the driver for the host-PCI-bridge to indicate that reenumeration of the PCI busses isn't supported by returning -1 instead of a valid PCI bus number. This is needed in order support both Tomatillo, which don't support reenumeration and thus are apparently intended to be used for independently numbered PCI domains only, and Psycho bridges, whose busses need to be reenumerated on at least some E450, without the #ifndef currently used for sun4v in order to support multiple independently PCI domains. The actual allocation/incrementation of the PCI bus numbers is now done in psycho(4), though it no longer establish a mapping between bus numbers and device nodes like ofw_pci_alloc_busno() did as that functionality wasn't used (but can easily brought back if really needed). The now no longer used sys/sparc64/pci/ofw_pci.c is also removed from sys/conf/files.sun4v as ofw_pci_alloc_busno() wasn't used there in the first place. - In ofw_pci_default_{adjust_busrange,intr_pending}() sanity check that the device has a parent before passing it on. - Make psycho_softcs static to sys/sparc64/pci/psycho.c as it's not used outside of that module. - In sys/sparc64/pci/ofw_pcib_subr.c remove the superfluous inclusion of opt_global.h and correct the debug output for adjusting the subordinate bus number.
Diffstat (limited to 'sys/conf/files.sparc64')
-rw-r--r--sys/conf/files.sparc641
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/conf/files.sparc64 b/sys/conf/files.sparc64
index 3295531..b00e383 100644
--- a/sys/conf/files.sparc64
+++ b/sys/conf/files.sparc64
@@ -81,7 +81,6 @@ sparc64/isa/isa.c optional isa
sparc64/isa/isa_dma.c optional isa
sparc64/isa/ofw_isa.c optional ebus | isa
sparc64/pci/apb.c optional pci
-sparc64/pci/ofw_pci.c optional pci
sparc64/pci/ofw_pcib.c optional pci
sparc64/pci/ofw_pcib_subr.c optional pci
sparc64/pci/ofw_pcibus.c optional pci
OpenPOWER on IntegriCloud