Module Name:    src
Committed By:   mlelstv
Date:           Sun Mar 27 08:52:25 UTC 2011

Modified Files:
        src/sys/dev/acpi: thinkpad_acpi.c

Log Message:
Use wireless function key to toggle not only bluetooth but also
telephony (GPRS/UMTS/..) like other operating systems.


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/sys/dev/acpi/thinkpad_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/thinkpad_acpi.c
diff -u src/sys/dev/acpi/thinkpad_acpi.c:1.34 src/sys/dev/acpi/thinkpad_acpi.c:1.35
--- src/sys/dev/acpi/thinkpad_acpi.c:1.34	Wed Feb 16 08:35:51 2011
+++ src/sys/dev/acpi/thinkpad_acpi.c	Sun Mar 27 08:52:25 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: thinkpad_acpi.c,v 1.34 2011/02/16 08:35:51 jruoho Exp $ */
+/* $NetBSD: thinkpad_acpi.c,v 1.35 2011/03/27 08:52:25 mlelstv Exp $ */
 
 /*-
  * Copyright (c) 2007 Jared D. McNeill <[email protected]>
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: thinkpad_acpi.c,v 1.34 2011/02/16 08:35:51 jruoho Exp $");
+__KERNEL_RCSID(0, "$NetBSD: thinkpad_acpi.c,v 1.35 2011/03/27 08:52:25 mlelstv Exp $");
 
 #include <sys/param.h>
 #include <sys/device.h>
@@ -582,6 +582,7 @@
 {
 	/* Ignore return value, as the hardware may not support bluetooth */
 	(void)AcpiEvaluateObject(sc->sc_node->ad_handle, "BTGL", NULL, NULL);
+	(void)AcpiEvaluateObject(sc->sc_node->ad_handle, "GWAN", NULL, NULL);
 }
 
 static uint8_t

Reply via email to