summaryrefslogtreecommitdiffstats
path: root/sys/i386
diff options
context:
space:
mode:
authordfr <dfr@FreeBSD.org>1999-12-05 18:41:34 +0000
committerdfr <dfr@FreeBSD.org>1999-12-05 18:41:34 +0000
commitd2ed1bf3b6a2363ca3624405a01abf7982048ec3 (patch)
treecbd0e9da6bc3ae0471683457c9051cdf538bf819 /sys/i386
parent40718257bf708445ca1f53701a8569d5d8f01761 (diff)
downloadFreeBSD-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/i386')
-rw-r--r--sys/i386/isa/pcibus.c2
-rw-r--r--sys/i386/pci/pci_bus.c2
-rw-r--r--sys/i386/pci/pci_cfgreg.c2
-rw-r--r--sys/i386/pci/pci_pir.c2
4 files changed, 8 insertions, 0 deletions
diff --git a/sys/i386/isa/pcibus.c b/sys/i386/isa/pcibus.c
index 609d416..7996bbf 100644
--- a/sys/i386/isa/pcibus.c
+++ b/sys/i386/isa/pcibus.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/i386/pci/pci_bus.c b/sys/i386/pci/pci_bus.c
index 609d416..7996bbf 100644
--- a/sys/i386/pci/pci_bus.c
+++ b/sys/i386/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/i386/pci/pci_cfgreg.c b/sys/i386/pci/pci_cfgreg.c
index 609d416..7996bbf 100644
--- a/sys/i386/pci/pci_cfgreg.c
+++ b/sys/i386/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 */
diff --git a/sys/i386/pci/pci_pir.c b/sys/i386/pci/pci_pir.c
index 609d416..7996bbf 100644
--- a/sys/i386/pci/pci_pir.c
+++ b/sys/i386/pci/pci_pir.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 */
OpenPOWER on IntegriCloud