Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/acpi Use wireless function key to toggle not only bl...
details: https://anonhg.NetBSD.org/src/rev/9f59f3395ddb
branches: trunk
changeset: 763597:9f59f3395ddb
user: mlelstv <mlelstv%NetBSD.org@localhost>
date: Sun Mar 27 08:52:25 2011 +0000
description:
Use wireless function key to toggle not only bluetooth but also
telephony (GPRS/UMTS/..) like other operating systems.
diffstat:
sys/dev/acpi/thinkpad_acpi.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 15e4ff327cfb -r 9f59f3395ddb sys/dev/acpi/thinkpad_acpi.c
--- a/sys/dev/acpi/thinkpad_acpi.c Sun Mar 27 08:45:11 2011 +0000
+++ b/sys/dev/acpi/thinkpad_acpi.c Sun Mar 27 08:52:25 2011 +0000
@@ -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 <jmcneill%invisible.ca@localhost>
@@ -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
Home |
Main Index |
Thread Index |
Old Index