diff options
author | Doug Rabson <dfr@FreeBSD.org> | 1999-12-05 18:41:34 +0000 |
---|---|---|
committer | Doug Rabson <dfr@FreeBSD.org> | 1999-12-05 18:41:34 +0000 |
commit | c954d7368a8a5cd10792d9a338e8a972a742c7ec (patch) | |
tree | 4dd46fc821bdd024666d21bdeb393a40da8a7f99 /sys/amd64 | |
parent | 65831093e916e2ccbddb9de96515f79e592f8800 (diff) | |
download | src-c954d7368a8a5cd10792d9a338e8a972a742c7ec.tar.gz src-c954d7368a8a5cd10792d9a338e8a972a742c7ec.zip |
Don't use a bogus bus number for Ross host-pci bridges.
PR: kern/15278
Submitted by: Ahmed Benani <ahmed_benani@urbanet.ch>
Notes
Notes:
svn path=/head/; revision=54150
Diffstat (limited to 'sys/amd64')
-rw-r--r-- | sys/amd64/pci/pci_bus.c | 2 | ||||
-rw-r--r-- | sys/amd64/pci/pci_cfgreg.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/sys/amd64/pci/pci_bus.c b/sys/amd64/pci/pci_bus.c index 609d41647d4a..7996bbfc13c0 100644 --- a/sys/amd64/pci/pci_bus.c +++ b/sys/amd64/pci/pci_bus.c @@ -395,7 +395,9 @@ nexus_pcib_is_host_bridge(pcicfgregs *cfg, case 0x00051166: s = "Ross (?) host to PCI bridge"; /* just guessing the secondary bus register number ... */ +#if 0 *busnum = pci_cfgread(cfg, 0x45, 1); +#endif break; /* Integrated Micro Solutions -- vendor 0x10e0 */ diff --git a/sys/amd64/pci/pci_cfgreg.c b/sys/amd64/pci/pci_cfgreg.c index 609d41647d4a..7996bbfc13c0 100644 --- a/sys/amd64/pci/pci_cfgreg.c +++ b/sys/amd64/pci/pci_cfgreg.c @@ -395,7 +395,9 @@ nexus_pcib_is_host_bridge(pcicfgregs *cfg, case 0x00051166: s = "Ross (?) host to PCI bridge"; /* just guessing the secondary bus register number ... */ +#if 0 *busnum = pci_cfgread(cfg, 0x45, 1); +#endif break; /* Integrated Micro Solutions -- vendor 0x10e0 */ |