]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ACPI: thinkpad-acpi: debug facility to emulate the rf switches
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Sun, 11 Jan 2009 05:01:00 +0000 (03:01 -0200)
committerLen Brown <len.brown@intel.com>
Thu, 15 Jan 2009 18:29:21 +0000 (13:29 -0500)
commita73f30916ee524437253739eacc682f6fb0f3ea8
tree82005ee460486436207106f0c5b906ac5137f271
parente0b36fc5efd610a208b6b80e821a49302ca424ab
ACPI: thinkpad-acpi: debug facility to emulate the rf switches

This code is required to keep the thinkpad-acpi maintainer sane, and
it is disabled by default.

Add a debug facility to simulate an rfkill hardware rocker switch, a
bluetooth rfkill soft-switch, a WWAN rfkill soft-switch on thinkpads.

The simulated switches obviously do not kill any radios in hardware or
firmware (unlike the real one).  They also don't issue deprecated proc
events.

Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/platform/x86/Kconfig
drivers/platform/x86/thinkpad_acpi.c