diff options
author | Martin Natano <natano@cvs.openbsd.org> | 2017-02-28 10:39:08 +0000 |
---|---|---|
committer | Martin Natano <natano@cvs.openbsd.org> | 2017-02-28 10:39:08 +0000 |
commit | dda377334195e99d66dc6b37c32d383d020990a1 (patch) | |
tree | 8f754a35fe4c2871b9c02cb51767721a8c02608c /sys/dev/acpi/acpibtn.c | |
parent | 733d2987ec55a3619abe4d6a79d7386ac8c4b770 (diff) |
Untangle abstract sleep modes from ACPI sleep states. This paves the way
for further work in the area.
idea and ok deraadt
ok mlarkin
Diffstat (limited to 'sys/dev/acpi/acpibtn.c')
-rw-r--r-- | sys/dev/acpi/acpibtn.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/acpi/acpibtn.c b/sys/dev/acpi/acpibtn.c index 2f5ca6bd647..badfc8f23b3 100644 --- a/sys/dev/acpi/acpibtn.c +++ b/sys/dev/acpi/acpibtn.c @@ -1,4 +1,4 @@ -/* $OpenBSD: acpibtn.c,v 1.42 2016/01/07 12:08:18 mpi Exp $ */ +/* $OpenBSD: acpibtn.c,v 1.43 2017/02/28 10:39:07 natano Exp $ */ /* * Copyright (c) 2005 Marco Peereboom <marco@openbsd.org> * @@ -244,7 +244,7 @@ sleep: /* Request to go to sleep */ if (acpi_record_event(sc->sc_acpi, APM_USER_SUSPEND_REQ)) acpi_addtask(sc->sc_acpi, acpi_sleep_task, - sc->sc_acpi, ACPI_STATE_S3); + sc->sc_acpi, ACPI_SLEEP_SUSPEND); break; } #endif /* SMALL_KERNEL */ |