diff options
author | dfr <dfr@FreeBSD.org> | 1999-12-05 18:41:34 +0000 |
---|---|---|
committer | dfr <dfr@FreeBSD.org> | 1999-12-05 18:41:34 +0000 |
commit | d2ed1bf3b6a2363ca3624405a01abf7982048ec3 (patch) | |
tree | cbd0e9da6bc3ae0471683457c9051cdf538bf819 /sys/amd64/pci | |
parent | 40718257bf708445ca1f53701a8569d5d8f01761 (diff) | |
download | FreeBSD-src-d2ed1bf3b6a2363ca3624405a01abf7982048ec3.zip FreeBSD-src-d2ed1bf3b6a2363ca3624405a01abf7982048ec3.tar.gz |
Don't use a bogus bus number for Ross host-pci bridges.
PR: kern/15278
Submitted by: Ahmed Benani <ahmed_benani@urbanet.ch>
Diffstat (limited to 'sys/amd64/pci')
-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 609d416..7996bbf 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 609d416..7996bbf 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 */ |