toshiba_acpi: Add support for bluetooth toggling through rfkill (v8)
authorphilipl@overt.org <philipl@overt.org>
Sat, 30 Aug 2008 15:57:39 +0000 (11:57 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 5 Sep 2008 20:17:45 +0000 (16:17 -0400)
commitc41a40c58b623f97dd2e23aa3baab2cedb47d99f
treeca7086b330e033cb9985a3aa41b52832362d3df3
parent400828c3da74a2e22b51bfc08d6db4697e3bce3e
toshiba_acpi: Add support for bluetooth toggling through rfkill (v8)

There's been a patch floating around for toshiba_acpi that exports an ad-hoc
/proc interface to toggle the bluetooth adapter in a large number of Toshiba
laptops. I'm not sure if it's still relevant for the latest models, but it is
still required for older models such as my Tecra M3.

This change pulls in the low level Toshiba-specific code from the old patch and
sets up an rfkill device and a polled input device to track the state of the
hardware kill-switch.

Signed-off-by: Philip Langdale <philipl@overt.org>
Acked-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/acpi/Kconfig
drivers/acpi/toshiba_acpi.c