summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorcanacar <canacar@openbsd.org>2007-06-23 11:41:03 +0000
committercanacar <canacar@openbsd.org>2007-06-23 11:41:03 +0000
commit687d7e22fc118fbd52d651f819706d231f5ceeda (patch)
treef4808f239fc48aed13c3564a60e6a268089614b1 /sys
parentdocument REGRESS_LOG* (diff)
downloadwireguard-openbsd-687d7e22fc118fbd52d651f819706d231f5ceeda.tar.xz
wireguard-openbsd-687d7e22fc118fbd52d651f819706d231f5ceeda.zip
Accept 0x00 as notify type since some notebooks (MSI-S260)
incorrectly use it when signaling events. ok marco@
Diffstat (limited to 'sys')
-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