summaryrefslogtreecommitdiff
path: root/sys/arch/amd64
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/amd64')
-rw-r--r--sys/arch/amd64/amd64/acpi_machdep.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/arch/amd64/amd64/acpi_machdep.c b/sys/arch/amd64/amd64/acpi_machdep.c
index b255ee05580..99fe248dfcc 100644
--- a/sys/arch/amd64/amd64/acpi_machdep.c
+++ b/sys/arch/amd64/amd64/acpi_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: acpi_machdep.c,v 1.50 2012/10/08 21:47:47 deraadt Exp $ */
+/* $OpenBSD: acpi_machdep.c,v 1.51 2012/10/17 22:49:27 deraadt Exp $ */
/*
* Copyright (c) 2005 Thorsten Lockert <tholo@sigmasoft.com>
*
@@ -271,6 +271,10 @@ acpi_sleep_cpu(struct acpi_softc *sc, int state)
}
#endif
+ /* XXX
+ * Flag to disk drivers that they should "power down" the disk
+ * when we get to DVACT_POWERDOWN.
+ */
boothowto |= RB_POWERDOWN;
config_suspend(TAILQ_FIRST(&alldevs), DVACT_POWERDOWN);
boothowto &= ~RB_POWERDOWN;