summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/dev/acpica/acpi_pcib.c9
-rw-r--r--sys/dev/acpica/acpi_pcib_acpi.c9
2 files changed, 10 insertions, 8 deletions
diff --git a/sys/dev/acpica/acpi_pcib.c b/sys/dev/acpica/acpi_pcib.c
index 76c1d86..1e7ef6e 100644
--- a/sys/dev/acpica/acpi_pcib.c
+++ b/sys/dev/acpica/acpi_pcib.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
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