diff options
author | marius <marius@FreeBSD.org> | 2008-04-17 12:38:00 +0000 |
---|---|---|
committer | marius <marius@FreeBSD.org> | 2008-04-17 12:38:00 +0000 |
commit | 3215bc9d5f31c44edeb0a319c1456140986ac1de (patch) | |
tree | 646b5b1dcb4b90320e3790b627d5df68e35cf191 /sys/sparc64/pci/ofw_pcib.c | |
parent | b11f9dd52aac5645107b2d8cb24361e9495b17d6 (diff) | |
download | FreeBSD-src-3215bc9d5f31c44edeb0a319c1456140986ac1de.zip FreeBSD-src-3215bc9d5f31c44edeb0a319c1456140986ac1de.tar.gz |
On sparc64 machines with multiple host-PCI-bridges these bridges
have separate configuration spaces so by definition they implement
different PCI domains. Thus change psycho(4) to use PCI domains
instead of reenumerating all PCI busses so they have globally unique
bus numbers and drop support for reenumerating busses in the OFW PCI
code.
According to CVS history reenumeration was also required in order to
get some E450 to boot but given that no other open source kernel
changes the PCI bus numbers assigned by the firmware I believe the
real problem was that the old code used the bus number as the device
number for the PCI busses and unlike most of the other machines the
firmwares of the problematic ones don't use disjoint PCI bus numbers
across the host-PCI-bridges.
MFC after: 1 month
Diffstat (limited to 'sys/sparc64/pci/ofw_pcib.c')
-rw-r--r-- | sys/sparc64/pci/ofw_pcib.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/sparc64/pci/ofw_pcib.c b/sys/sparc64/pci/ofw_pcib.c index aaa2c53..966d77f 100644 --- a/sys/sparc64/pci/ofw_pcib.c +++ b/sys/sparc64/pci/ofw_pcib.c @@ -87,9 +87,6 @@ static device_method_t ofw_pcib_methods[] = { /* ofw_bus interface */ DEVMETHOD(ofw_bus_get_node, ofw_pcib_gen_get_node), - /* ofw_pci interface */ - DEVMETHOD(ofw_pci_adjust_busrange, ofw_pcib_gen_adjust_busrange), - { 0, 0 } }; |