diff options
Diffstat (limited to 'sys/i386/pci')
-rw-r--r-- | sys/i386/pci/pci_bus.c | 10 |
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; } |