summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpica
diff options
context:
space:
mode:
authornjl <njl@FreeBSD.org>2004-06-05 09:56:04 +0000
committernjl <njl@FreeBSD.org>2004-06-05 09:56:04 +0000
commit6fdbcee136d7b479c9deb2902662a9bfe9815104 (patch)
tree117d36b7455151469235ce749635e8811b8ee40a /sys/dev/acpica
parent534290d08446176a51001046741db6a4ce648d16 (diff)
downloadFreeBSD-src-6fdbcee136d7b479c9deb2902662a9bfe9815104.zip
FreeBSD-src-6fdbcee136d7b479c9deb2902662a9bfe9815104.tar.gz
Don't forget to pass shutdown events down to children first now that we
handle them at the bus level too.
Diffstat (limited to 'sys/dev/acpica')
-rw-r--r--sys/dev/acpica/acpi.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/acpica/acpi.c b/sys/dev/acpica/acpi.c
index 7b35d63..2bfc27c 100644
--- a/sys/dev/acpica/acpi.c
+++ b/sys/dev/acpica/acpi.c
@@ -617,6 +617,9 @@ static int
acpi_shutdown(device_t dev)
{
+ /* Allow children to shutdown first. */
+ bus_generic_shutdown(dev);
+
/* Disable all wake GPEs not appropriate for reboot/poweroff. */
acpi_wake_limit_walk(ACPI_STATE_S5);
return (0);
OpenPOWER on IntegriCloud