summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpica/acpi_pcib_acpi.c
diff options
context:
space:
mode:
authorscottl <scottl@FreeBSD.org>2000-12-02 01:14:14 +0000
committerscottl <scottl@FreeBSD.org>2000-12-02 01:14:14 +0000
commit53f8c633d96f195fc488aa0743b914dbe9ba19de (patch)
tree1ac0b14a6d2030725ab9d0db2a00535d3f016d7b /sys/dev/acpica/acpi_pcib_acpi.c
parente91e9907ef79a1f04320b63f9388ad93917a6b84 (diff)
downloadFreeBSD-src-53f8c633d96f195fc488aa0743b914dbe9ba19de.zip
FreeBSD-src-53f8c633d96f195fc488aa0743b914dbe9ba19de.tar.gz
Revert attach() back to the old behaviour of calling bus_generic_attach().
The new way doesn't seem to work reliably and was causing devices to not be seen. Approved by: msmith
Diffstat (limited to 'sys/dev/acpica/acpi_pcib_acpi.c')
-rw-r--r--sys/dev/acpica/acpi_pcib_acpi.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/dev/acpica/acpi_pcib_acpi.c b/sys/dev/acpica/acpi_pcib_acpi.c
index 76c1d86..1e7ef6e 100644
--- a/sys/dev/acpica/acpi_pcib_acpi.c
+++ b/sys/dev/acpica/acpi_pcib_acpi.c
@@ -181,11 +181,12 @@ acpi_pcib_attach(device_t dev)
}
/*
- * Note that we defer the actual scan of the child PCI bus; ACPI will call
- * bus_generic_attach on its children a second time after the first pass
- * is complete. This leads to slightly neater output.
+ * 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(0);
+ return(bus_generic_attach(dev));
}
static int
OpenPOWER on IntegriCloud