summaryrefslogtreecommitdiffstats
path: root/sys/i386
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2002-09-23 18:14:31 +0000
committerjhb <jhb@FreeBSD.org>2002-09-23 18:14:31 +0000
commit5dc0248605e168960cde445de06c93cf34d5030b (patch)
tree71b5067f3644c280fab1fa554ad8bea2bc2f37a0 /sys/i386
parentf05f2dae0652e6fcbd1008e2551ec87c4876645f (diff)
downloadFreeBSD-src-5dc0248605e168960cde445de06c93cf34d5030b.zip
FreeBSD-src-5dc0248605e168960cde445de06c93cf34d5030b.tar.gz
Now that we only probe host-PCI bridges once, we no longer have to check to
see if we have been probed before by checking for a pciX bus device.
Diffstat (limited to 'sys/i386')
-rw-r--r--sys/i386/pci/pci_bus.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/sys/i386/pci/pci_bus.c b/sys/i386/pci/pci_bus.c
index 56e8eb3..2e589dd 100644
--- a/sys/i386/pci/pci_bus.c
+++ b/sys/i386/pci/pci_bus.c
@@ -424,19 +424,9 @@ nexus_pcib_identify(driver_t *driver, device_t parent)
static int
nexus_pcib_probe(device_t dev)
{
- devclass_t pci_devclass;
if (pci_cfgregopen() == 0)
return ENXIO;
- /*
- * Check to see if we haven't already had a PCI bus added
- * via some other means. If we have, bail since otherwise
- * we're going to end up duplicating it.
- */
- if ((pci_devclass = devclass_find("pci")) &&
- devclass_get_device(pci_devclass, device_get_unit(dev)))
- return ENXIO;
-
return 0;
}
OpenPOWER on IntegriCloud