From 5dc0248605e168960cde445de06c93cf34d5030b Mon Sep 17 00:00:00 2001 From: jhb Date: Mon, 23 Sep 2002 18:14:31 +0000 Subject: 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. --- sys/i386/pci/pci_bus.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'sys/i386') 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; } -- cgit v1.1