[GIT PATCH] rfkill support for r/w and r/o rfkill switches

From: Henrique de Moraes Holschuh
Date: Fri Apr 11 2008 - 16:37:55 EST



This patch series (based on v2.6.25-rc8-mm2) has several improvements to
the rfkill class that I need for thinkpad-acpi, plus two fluff and
documentation fixes.

I'd appreciate comments, and if the patches are acceptable, that they are
sent to mainline early during the 2.6.26 merge window. That way, I could
try for a thinkpad-acpi rfkill submission for 2.6.26 as well.

The thinkpad-acpi work that needs these patches is ready, and can be
looked at on the thinkpad-acpi git tree (devel branch):
http://repo.or.cz/w/linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git

Note: new thinkpads have a read-only "type any" radio switch, plus
read-write WWAN and Bluetooth radio switches. The embedded WLAN cards
have WLAN read-write switches (that should be handled by the ipw* and iwl*
drivers). Very old thinkpads had ACPI-based WLAN radio switches, but
thinkpad-acpi does not support those.

Shortlog:
Henrique de Moraes Holschuh (8):
rfkill: clarify meaning of rfkill states
rfkill: fix minor typo in kernel doc
rfkill: handle KEY_RADIO and SW_RADIO events
rfkill: add read-write rfkill switch support
rfkill: add read-only rfkill switch support
rfkill: add the WWAN radio type
rfkill: add an "any radio" switch type and functionality
rfkill: add parameter to disable radios by default

Diffstat:
include/linux/rfkill.h | 18 ++++--
net/rfkill/rfkill-input.c | 71 +++++++++++++++++++++++-
net/rfkill/rfkill.c | 134 ++++++++++++++++++++++++++++++++++++++++++----
3 files changed, 207 insertions(+), 16 deletions(-)

--
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot
Henrique Holschuh
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/