Module Name: src
Committed By: jruoho
Date: Thu Jul 29 07:10:39 UTC 2010
Modified Files:
src/sys/dev/acpi/wmi: wmi_acpi.c
Log Message:
Add "pnp0c14" to the list of HIDs. Required for LG X110. As valid EISA IDs
should be all upper case, leave this as a onetime quirk specific to acpiwmi(4).
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/dev/acpi/wmi/wmi_acpi.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/acpi/wmi/wmi_acpi.c
diff -u src/sys/dev/acpi/wmi/wmi_acpi.c:1.5 src/sys/dev/acpi/wmi/wmi_acpi.c:1.6
--- src/sys/dev/acpi/wmi/wmi_acpi.c:1.5 Mon May 31 20:32:29 2010
+++ src/sys/dev/acpi/wmi/wmi_acpi.c Thu Jul 29 07:10:39 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: wmi_acpi.c,v 1.5 2010/05/31 20:32:29 pgoyette Exp $ */
+/* $NetBSD: wmi_acpi.c,v 1.6 2010/07/29 07:10:39 jruoho Exp $ */
/*-
* Copyright (c) 2009, 2010 Jukka Ruohonen <[email protected]>
@@ -27,7 +27,7 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: wmi_acpi.c,v 1.5 2010/05/31 20:32:29 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: wmi_acpi.c,v 1.6 2010/07/29 07:10:39 jruoho Exp $");
#include <sys/param.h>
#include <sys/device.h>
@@ -71,6 +71,7 @@
const char * const acpi_wmi_ids[] = {
"PNP0C14",
+ "pnp0c14",
NULL
};
@@ -322,7 +323,9 @@
if (acpi_register_notify(sc->sc_node, acpi_wmi_event_handler) != true)
return;
- /* Enable possible expensive events. */
+ /*
+ * Enable possible expensive events.
+ */
SIMPLEQ_FOREACH(wmi, &sc->wmi_head, wmi_link) {
if ((wmi->guid.flags & ACPI_WMI_FLAG_EVENT) != 0 &&
@@ -336,7 +339,7 @@
continue;
}
- aprint_error_dev(sc->sc_dev, "failed to enable "
+ aprint_debug_dev(sc->sc_dev, "failed to enable "
"expensive WExx: %s\n", AcpiFormatException(rv));
}
}
@@ -369,7 +372,7 @@
continue;
}
- aprint_error_dev(sc->sc_dev, "failed to disable "
+ aprint_debug_dev(sc->sc_dev, "failed to disable "
"expensive WExx: %s\n", AcpiFormatException(rv));
}
}