Add patch accepted for 2.6.27-rc6
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Wed, 10 Sep 2008 02:08:56 +0000 (9 23:08 -0300)
committerHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Wed, 10 Sep 2008 02:08:56 +0000 (9 23:08 -0300)
Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
releases/upstream/2.6.27-rc6/0001-ACPI-thinkpad-acpi-wan-radio-control-is-not-experi.patch [new file with mode: 0644]

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 (file)
index 0000000..5407b74
--- /dev/null
@@ -0,0 +1,64 @@
+From 9662e0802445a1f56cef11bbd0d520b07238424a Mon Sep 17 00:00:00 2001
+From: Jeremy Fitzhardinge <jeremy@goop.org>
+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 <jeremy@goop.org>
+Signed-off-by: Andi Kleen <ak@linux.intel.com>
+---
+ 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
+