From: Henrique de Moraes Holschuh Date: Wed, 10 Sep 2008 02:08:56 +0000 (-0300) Subject: Add patch accepted for 2.6.27-rc6 X-Git-Url: https://repo.or.cz/w/linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git/commitdiff_plain/a2da987c67c4f47a165f6984690b91ca20958f06 Add patch accepted for 2.6.27-rc6 Signed-off-by: Henrique de Moraes Holschuh --- diff --git a/releases/upstream/2.6.27-rc6/0001-ACPI-thinkpad-acpi-wan-radio-control-is-not-experi.patch b/releases/upstream/2.6.27-rc6/0001-ACPI-thinkpad-acpi-wan-radio-control-is-not-experi.patch new file mode 100644 index 00000000000..5407b7471bd --- /dev/null +++ b/releases/upstream/2.6.27-rc6/0001-ACPI-thinkpad-acpi-wan-radio-control-is-not-experi.patch @@ -0,0 +1,64 @@ +From 9662e0802445a1f56cef11bbd0d520b07238424a Mon Sep 17 00:00:00 2001 +From: Jeremy Fitzhardinge +Date: Wed, 27 Aug 2008 21:04:49 -0700 +Subject: [PATCH] ACPI: thinkpad-acpi: wan radio control is not experimental + +The WWAN radio control has been working well for over three years, +and is no longer experimental. + +Signed-off-by: Jeremy Fitzhardinge +Signed-off-by: Andi Kleen +--- + Documentation/laptops/thinkpad-acpi.txt | 11 +++-------- + drivers/misc/thinkpad_acpi.c | 1 - + 2 files changed, 3 insertions(+), 9 deletions(-) + +diff --git a/Documentation/laptops/thinkpad-acpi.txt b/Documentation/laptops/thinkpad-acpi.txt +index 02dc748..71f0fe1 100644 +--- a/Documentation/laptops/thinkpad-acpi.txt ++++ b/Documentation/laptops/thinkpad-acpi.txt +@@ -44,7 +44,7 @@ detailed description): + - LCD brightness control + - Volume control + - Fan control and monitoring: fan speed, fan enable/disable +- - Experimental: WAN enable and disable ++ - WAN enable and disable + + A compatibility table by model and feature is maintained on the web + site, http://ibm-acpi.sf.net/. I appreciate any success or failure +@@ -1375,18 +1375,13 @@ with EINVAL, try to set pwm1_enable to 1 and pwm1 to at least 128 (255 + would be the safest choice, though). + + +-EXPERIMENTAL: WAN +------------------ ++WAN ++--- + + procfs: /proc/acpi/ibm/wan + sysfs device attribute: wwan_enable (deprecated) + sysfs rfkill class: switch "tpacpi_wwan_sw" + +-This feature is marked EXPERIMENTAL because the implementation +-directly accesses hardware registers and may not work as expected. USE +-WITH CAUTION! To use this feature, you need to supply the +-experimental=1 parameter when loading the module. +- + This feature shows the presence and current state of a W-WAN (Sierra + Wireless EV-DO) device. + +diff --git a/drivers/misc/thinkpad_acpi.c b/drivers/misc/thinkpad_acpi.c +index d3eb790..6b93007 100644 +--- a/drivers/misc/thinkpad_acpi.c ++++ b/drivers/misc/thinkpad_acpi.c +@@ -3086,7 +3086,6 @@ static struct ibm_struct wan_driver_data = { + .read = wan_read, + .write = wan_write, + .exit = wan_exit, +- .flags.experimental = 1, + }; + + /************************************************************************* +-- +1.5.6.5 +