summaryrefslogtreecommitdiff
path: root/sys/dev/acpi
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2010-08-27 04:09:22 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2010-08-27 04:09:22 +0000
commitd387be6d508d997d7cd2ffeac58f75c47618216d (patch)
treec5f66108585edf04cc43414ac9632c803e34db11 /sys/dev/acpi
parent787f4bab8db19e23ffad9ba4a801d990bf04121a (diff)
kill PWR_STANDBY (apm can use PWR_SUSPEND instead). While here, renumber
PWR_{SUSPEND,RESUME} so that they match the values of DAVCT_{SUSPEND,RESUME} so that we can eventually (many more steps...) kill the powerhook garbage and use the activate mechanism. no objections
Diffstat (limited to 'sys/dev/acpi')
-rw-r--r--sys/dev/acpi/acpiasus.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/acpi/acpiasus.c b/sys/dev/acpi/acpiasus.c
index 92afc017f21..89183c180d4 100644
--- a/sys/dev/acpi/acpiasus.c
+++ b/sys/dev/acpi/acpiasus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: acpiasus.c,v 1.9 2010/07/06 06:26:25 deraadt Exp $ */
+/* $OpenBSD: acpiasus.c,v 1.10 2010/08/27 04:09:17 deraadt Exp $ */
/* $NetBSD: asus_acpi.c,v 1.2.2.2 2008/04/03 12:42:37 mjf Exp $ */
/*
* Copyright (c) 2007, 2008 Jared D. McNeill <jmcneill@invisible.ca>
@@ -223,7 +223,6 @@ acpiasus_power(int why, void *arg)
struct aml_value ret;
switch (why) {
- case PWR_STANDBY:
case PWR_SUSPEND:
break;
case PWR_RESUME: