diff options
author | jhb <jhb@FreeBSD.org> | 2002-09-23 18:14:31 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2002-09-23 18:14:31 +0000 |
commit | 5dc0248605e168960cde445de06c93cf34d5030b (patch) | |
tree | 71b5067f3644c280fab1fa554ad8bea2bc2f37a0 /sys/dev | |
parent | f05f2dae0652e6fcbd1008e2551ec87c4876645f (diff) | |
download | FreeBSD-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/dev')
-rw-r--r-- | sys/dev/acpica/acpi_pcib.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/sys/dev/acpica/acpi_pcib.c b/sys/dev/acpica/acpi_pcib.c index 39600a7..8e34f17 100644 --- a/sys/dev/acpica/acpi_pcib.c +++ b/sys/dev/acpica/acpi_pcib.c @@ -66,15 +66,6 @@ acpi_pcib_attach(device_t dev, ACPI_BUFFER *prt, int busno) return_VALUE(ENXIO); /* - * Make sure that this bus hasn't already been found. - */ - if (devclass_get_device(devclass_find("pci"), busno) != NULL) { - device_printf(dev, "duplicate bus number %d - not probing bus\n", - busno); - return_VALUE(0); - } - - /* * Get the PCI interrupt routing table for this bus. */ prt->Length = ACPI_ALLOCATE_BUFFER; @@ -94,9 +85,6 @@ acpi_pcib_attach(device_t dev, ACPI_BUFFER *prt, int busno) /* * Now go scan the bus. - * - * XXX It would be nice to defer this and count on the nexus getting it - * after the first pass, but this does not seem to be reliable. */ return_VALUE(bus_generic_attach(dev)); } |