diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2009-11-25 18:57:03 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2009-11-25 18:57:03 +0000 |
commit | 6141d1eabcacb8694889fd7779988c77e9237bf9 (patch) | |
tree | 36ed800d55ea24e70f595b8be212ae993152bd7d | |
parent | a36e435a24b51170399c0c64badde749ec9cf34b (diff) |
Thinkpad button suspends; ok mlarkin
-rw-r--r-- | sys/dev/acpi/acpithinkpad.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/dev/acpi/acpithinkpad.c b/sys/dev/acpi/acpithinkpad.c index 9ffdf0299d4..b8f0ca6b54a 100644 --- a/sys/dev/acpi/acpithinkpad.c +++ b/sys/dev/acpi/acpithinkpad.c @@ -1,4 +1,4 @@ -/* $OpenBSD: acpithinkpad.c,v 1.21 2009/09/14 23:19:59 fgsch Exp $ */ +/* $OpenBSD: acpithinkpad.c,v 1.22 2009/11/25 18:57:02 deraadt Exp $ */ /* * Copyright (c) 2008 joshua stein <jcs@openbsd.org> * @@ -280,10 +280,7 @@ thinkpad_hotkey(struct aml_node *node, int notify_type, void *arg) break; case THINKPAD_BUTTON_SUSPEND: handled = 1; - /* - acpi_enter_sleep_state(sc->sc_acpi, - ACPI_STATE_S3); - */ + acpi_sleep_state(sc->sc_acpi, ACPI_STATE_S3); break; case THINKPAD_BUTTON_HIBERNATE: case THINKPAD_BUTTON_FN_F1: |