aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2002-09-06 17:01:06 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2002-09-06 17:01:06 +0000
commiteeb6dba253e225b18bbdbeb739be3565ade9d164 (patch)
treeaca5dea20082373873a839427c31a63cbbf55190 /sys/dev
parente703b0e13ee232513b293dc79332a7642b1cebc9 (diff)
Notes
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/acpica/acpi.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/acpica/acpi.c b/sys/dev/acpica/acpi.c
index b4df2a741827..760777258d98 100644
--- a/sys/dev/acpica/acpi.c
+++ b/sys/dev/acpica/acpi.c
@@ -451,8 +451,6 @@ acpi_attach(device_t dev)
freeenv(debugpoint);
}
#endif
- if (!acpi_disabled("bus"))
- acpi_probe_children(dev);
/*
* Register our shutdown handlers
@@ -502,6 +500,9 @@ acpi_attach(device_t dev)
/* Register ACPI again to pass the correct argument of pm_func. */
power_pm_register(POWER_PM_TYPE_ACPI, acpi_pm_func, sc);
+ if (!acpi_disabled("bus"))
+ acpi_probe_children(dev);
+
error = 0;
out: