Add patch accepted for 2.6.27-rc6
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / releases / upstream / 2.6.27-rc6 / 0001-ACPI-thinkpad-acpi-wan-radio-control-is-not-experi.patch
blob5407b7471bd55a6a6ad81d891b0ace383e0290f6
1 From 9662e0802445a1f56cef11bbd0d520b07238424a Mon Sep 17 00:00:00 2001
2 From: Jeremy Fitzhardinge <jeremy@goop.org>
3 Date: Wed, 27 Aug 2008 21:04:49 -0700
4 Subject: [PATCH] ACPI: thinkpad-acpi: wan radio control is not experimental
6 The WWAN radio control has been working well for over three years,
7 and is no longer experimental.
9 Signed-off-by: Jeremy Fitzhardinge <jeremy@goop.org>
10 Signed-off-by: Andi Kleen <ak@linux.intel.com>
11 ---
12 Documentation/laptops/thinkpad-acpi.txt | 11 +++--------
13 drivers/misc/thinkpad_acpi.c | 1 -
14 2 files changed, 3 insertions(+), 9 deletions(-)
16 diff --git a/Documentation/laptops/thinkpad-acpi.txt b/Documentation/laptops/thinkpad-acpi.txt
17 index 02dc748..71f0fe1 100644
18 --- a/Documentation/laptops/thinkpad-acpi.txt
19 +++ b/Documentation/laptops/thinkpad-acpi.txt
20 @@ -44,7 +44,7 @@ detailed description):
21 - LCD brightness control
22 - Volume control
23 - Fan control and monitoring: fan speed, fan enable/disable
24 - - Experimental: WAN enable and disable
25 + - WAN enable and disable
27 A compatibility table by model and feature is maintained on the web
28 site, http://ibm-acpi.sf.net/. I appreciate any success or failure
29 @@ -1375,18 +1375,13 @@ with EINVAL, try to set pwm1_enable to 1 and pwm1 to at least 128 (255
30 would be the safest choice, though).
33 -EXPERIMENTAL: WAN
34 ------------------
35 +WAN
36 +---
38 procfs: /proc/acpi/ibm/wan
39 sysfs device attribute: wwan_enable (deprecated)
40 sysfs rfkill class: switch "tpacpi_wwan_sw"
42 -This feature is marked EXPERIMENTAL because the implementation
43 -directly accesses hardware registers and may not work as expected. USE
44 -WITH CAUTION! To use this feature, you need to supply the
45 -experimental=1 parameter when loading the module.
47 This feature shows the presence and current state of a W-WAN (Sierra
48 Wireless EV-DO) device.
50 diff --git a/drivers/misc/thinkpad_acpi.c b/drivers/misc/thinkpad_acpi.c
51 index d3eb790..6b93007 100644
52 --- a/drivers/misc/thinkpad_acpi.c
53 +++ b/drivers/misc/thinkpad_acpi.c
54 @@ -3086,7 +3086,6 @@ static struct ibm_struct wan_driver_data = {
55 .read = wan_read,
56 .write = wan_write,
57 .exit = wan_exit,
58 - .flags.experimental = 1,
61 /*************************************************************************
62 --
63 1.5.6.5