summaryrefslogtreecommitdiff
path: root/sys/dev/acpi
diff options
context:
space:
mode:
authorCan Erkin Acar <canacar@cvs.openbsd.org>2007-11-03 22:51:22 +0000
committerCan Erkin Acar <canacar@cvs.openbsd.org>2007-11-03 22:51:22 +0000
commit63a2db9353b78bc636206e478278dd814e2d4fed (patch)
treec30e332f4818a8e7d6d8156a7771d05e74bbed10 /sys/dev/acpi
parentea29071c838af86d519036294124fda695fe1cba (diff)
Notebook from ckuethe@ that notifies AC with 0x01, so add that in.
cool ckuethe@
Diffstat (limited to 'sys/dev/acpi')
-rw-r--r--sys/dev/acpi/acpiac.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/acpi/acpiac.c b/sys/dev/acpi/acpiac.c
index b95547745f3..4d9bcda0b49 100644
--- a/sys/dev/acpi/acpiac.c
+++ b/sys/dev/acpi/acpiac.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: acpiac.c,v 1.18 2007/06/23 11:41:03 canacar Exp $ */
+/* $OpenBSD: acpiac.c,v 1.19 2007/11/03 22:51:21 canacar Exp $ */
/*
* Copyright (c) 2005 Marco Peereboom <marco@openbsd.org>
*
@@ -129,6 +129,7 @@ acpiac_notify(struct aml_node *node, int notify_type, void *arg)
switch (notify_type) {
case 0x00:
+ case 0x01:
case 0x81:
/*
* XXX some sony vaio's use the wrong notify type