summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2014-02-21 18:49:07 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2014-02-21 18:49:07 +0000
commit53ad902eb700de578566f6e9044c11b20928cb12 (patch)
treed220c173c97d3229373abfa89c14a54b4b804666 /sys
parentd8494422b9c56cdd39f3bfa2270c6bc3407967c3 (diff)
these two drivers should be doing their repair at DVACT_WAKEUP time
rather than DVACT_RESUME in snapshots for a long time, looked at by pirofti kettenis mlarkin
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/acpi/acpiasus.c4
-rw-r--r--sys/dev/acpi/acpisony.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/acpi/acpiasus.c b/sys/dev/acpi/acpiasus.c
index 8beaf985af1..c378da4e264 100644
--- a/sys/dev/acpi/acpiasus.c
+++ b/sys/dev/acpi/acpiasus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: acpiasus.c,v 1.16 2014/01/30 11:51:51 pirofti Exp $ */
+/* $OpenBSD: acpiasus.c,v 1.17 2014/02/21 18:49:06 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>
@@ -210,7 +210,7 @@ acpiasus_activate(struct device *self, int act)
struct aml_value ret;
switch (act) {
- case DVACT_RESUME:
+ case DVACT_WAKEUP:
acpiasus_init(self);
bzero(&cmd, sizeof(cmd));
diff --git a/sys/dev/acpi/acpisony.c b/sys/dev/acpi/acpisony.c
index e6bede881ed..89ba16f1b7d 100644
--- a/sys/dev/acpi/acpisony.c
+++ b/sys/dev/acpi/acpisony.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: acpisony.c,v 1.4 2011/01/02 04:56:57 jordan Exp $ */
+/* $OpenBSD: acpisony.c,v 1.5 2014/02/21 18:49:06 deraadt Exp $ */
/*
* Copyright (c) 2010 Paul Irofti <pirofti@openbsd.org>
*
@@ -123,7 +123,7 @@ acpisony_activate(struct device *self, int act)
struct acpisony_softc *sc = (struct acpisony_softc *)self;
switch (act) {
- case DVACT_RESUME:
+ case DVACT_WAKEUP:
acpisony_notify_setup(sc);
break;
}