Don't forget to pass shutdown events down to children first now that we

handle them at the bus level too.
This commit is contained in:
Nate Lawson 2004-06-05 09:56:04 +00:00
parent 2fa20830d5
commit 0e4148688c

View File

@ -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);