summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCan Erkin Acar <canacar@cvs.openbsd.org>2007-06-23 11:41:04 +0000
committerCan Erkin Acar <canacar@cvs.openbsd.org>2007-06-23 11:41:04 +0000
commit8b9b322ede757ff5e51e8212e957892e30ad875c (patch)
tree97a62c710a550ff9716eefccbcc4c4a307c6d1bf
parent98c0abb8a199d08c27296e1ed0b29b974c283ac6 (diff)
Accept 0x00 as notify type since some notebooks (MSI-S260)
incorrectly use it when signaling events. ok marco@
-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 90f7ebb1f1d..b95547745f3 100644
--- a/sys/dev/acpi/acpiac.c
+++ b/sys/dev/acpi/acpiac.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: acpiac.c,v 1.17 2007/02/21 03:58:12 marco Exp $ */
+/* $OpenBSD: acpiac.c,v 1.18 2007/06/23 11:41:03 canacar Exp $ */
/*
* Copyright (c) 2005 Marco Peereboom <marco@openbsd.org>
*
@@ -128,6 +128,7 @@ acpiac_notify(struct aml_node *node, int notify_type, void *arg)
sc->sc_devnode->parent->name);
switch (notify_type) {
+ case 0x00:
case 0x81:
/*
* XXX some sony vaio's use the wrong notify type