summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpica/acpi.c
diff options
context:
space:
mode:
authoriwasaki <iwasaki@FreeBSD.org>2002-05-19 15:12:40 +0000
committeriwasaki <iwasaki@FreeBSD.org>2002-05-19 15:12:40 +0000
commit319893ecfb8a3d9e52027a831e318f75a0c5ccb2 (patch)
treea65b3f4a2c48e2fa9899829b1c6f31e4c0935a3a /sys/dev/acpica/acpi.c
parent284f241aff11eba2773e0ab8670afc4c346d4427 (diff)
downloadFreeBSD-src-319893ecfb8a3d9e52027a831e318f75a0c5ccb2.zip
FreeBSD-src-319893ecfb8a3d9e52027a831e318f75a0c5ccb2.tar.gz
Terminate ACPI subsystem on reboot.
Some machines stuck on reboot if ACPI sleep/wakeup was executed.
Diffstat (limited to 'sys/dev/acpica/acpi.c')
-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 93c9625..eca16b3 100644
--- a/sys/dev/acpica/acpi.c
+++ b/sys/dev/acpica/acpi.c
@@ -932,6 +932,9 @@ acpi_shutdown_final(void *arg, int howto)
DELAY(1000000);
printf("ACPI power-off failed - timeout\n");
}
+ } else {
+ printf("Terminate ACPI\n");
+ AcpiTerminate();
}
}
OpenPOWER on IntegriCloud