aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rt2x00/Kconfig
diff options
context:
space:
mode:
authorIvo van Doorn <ivdoorn@gmail.com>2009-01-03 13:56:02 -0500
committerJohn W. Linville <linville@tuxdriver.com>2009-01-29 15:59:47 -0500
commitcca3e99861e883358ceb39ad17c9eaee082138a5 (patch)
tree7876976ddc1e60e510fdf905ac9fd3fca939d1d7 /drivers/net/wireless/rt2x00/Kconfig
parentc97c92d92715ea4ea2d7cf00957e8a014439bdd8 (diff)
rt2x00: Replace RFKILL with INPUT
As discussed on linux-wireless rt2x00 does not offer a true RFKILL key, for that reason RFKILL support should be entirely removed. The key which is attached to the hardware should be treated as normal input device instead. Implement input_poll_dev support to poll the device frequently. When the key status has changed report it as a SW event. Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00/Kconfig')
-rw-r--r--drivers/net/wireless/rt2x00/Kconfig7
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/net/wireless/rt2x00/Kconfig b/drivers/net/wireless/rt2x00/Kconfig
index 178b313293b4..bfc5d9cf716e 100644
--- a/drivers/net/wireless/rt2x00/Kconfig
+++ b/drivers/net/wireless/rt2x00/Kconfig
@@ -97,10 +97,11 @@ config RT2X00_LIB_CRYPTO
97 97
98config RT2X00_LIB_RFKILL 98config RT2X00_LIB_RFKILL
99 boolean 99 boolean
100 default y if (RT2X00_LIB=y && RFKILL=y) || (RT2X00_LIB=m && RFKILL!=n) 100 default y if (RT2X00_LIB=y && INPUT=y) || (RT2X00_LIB=m && INPUT!=n)
101 select INPUT_POLLDEV
101 102
102comment "rt2x00 rfkill support disabled due to modularized RFKILL and built-in rt2x00" 103comment "rt2x00 rfkill support disabled due to modularized INPUT and built-in rt2x00"
103 depends on RT2X00_LIB=y && RFKILL=m 104 depends on RT2X00_LIB=y && INPUT=m
104 105
105config RT2X00_LIB_LEDS 106config RT2X00_LIB_LEDS
106 boolean 107 boolean