diff options
author | Ivo van Doorn <ivdoorn@gmail.com> | 2008-03-31 09:53:44 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-04-01 17:14:09 -0400 |
commit | a2e1d52a32eab53f8ab03c4023310f65aaa054a7 (patch) | |
tree | 93f5f5692f220afbedc4512bdd372084097e5e54 /drivers/net/wireless/rt2x00/Kconfig | |
parent | e0b005fa1479045fe879944036268af3ebcd1835 (diff) |
rt2x00: Remove MAC80211_LEDS dependency
Implement triggers inside rt2x00 itself based
on input from mac80211. This replaces the method
of using the mac80211 trigger events which do
not work for USB drivers due to the scheduling
requirement.
After this patch RT2500USB_LEDS and RT73USB_LEDS
no longer need to be tagged as broken since they
now support LED handling again without having to
check for in_atomic().
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/Kconfig | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/drivers/net/wireless/rt2x00/Kconfig b/drivers/net/wireless/rt2x00/Kconfig index ad1549592c00..a1e3938cba9b 100644 --- a/drivers/net/wireless/rt2x00/Kconfig +++ b/drivers/net/wireless/rt2x00/Kconfig | |||
@@ -38,10 +38,6 @@ config RT2X00_LIB_RFKILL | |||
38 | config RT2X00_LIB_LEDS | 38 | config RT2X00_LIB_LEDS |
39 | boolean | 39 | boolean |
40 | depends on RT2X00_LIB | 40 | depends on RT2X00_LIB |
41 | select NEW_LEDS | ||
42 | select LEDS_CLASS | ||
43 | select LEDS_TRIGGERS | ||
44 | select MAC80211_LEDS | ||
45 | 41 | ||
46 | config RT2400PCI | 42 | config RT2400PCI |
47 | tristate "Ralink rt2400 pci/pcmcia support" | 43 | tristate "Ralink rt2400 pci/pcmcia support" |
@@ -64,7 +60,7 @@ config RT2400PCI_RFKILL | |||
64 | 60 | ||
65 | config RT2400PCI_LEDS | 61 | config RT2400PCI_LEDS |
66 | bool "RT2400 leds support" | 62 | bool "RT2400 leds support" |
67 | depends on RT2400PCI | 63 | depends on RT2400PCI && LEDS_CLASS |
68 | select RT2X00_LIB_LEDS | 64 | select RT2X00_LIB_LEDS |
69 | ---help--- | 65 | ---help--- |
70 | This adds support for led triggers provided my mac80211. | 66 | This adds support for led triggers provided my mac80211. |
@@ -90,7 +86,7 @@ config RT2500PCI_RFKILL | |||
90 | 86 | ||
91 | config RT2500PCI_LEDS | 87 | config RT2500PCI_LEDS |
92 | bool "RT2500 leds support" | 88 | bool "RT2500 leds support" |
93 | depends on RT2500PCI | 89 | depends on RT2500PCI && LEDS_CLASS |
94 | select RT2X00_LIB_LEDS | 90 | select RT2X00_LIB_LEDS |
95 | ---help--- | 91 | ---help--- |
96 | This adds support for led triggers provided my mac80211. | 92 | This adds support for led triggers provided my mac80211. |
@@ -118,7 +114,7 @@ config RT61PCI_RFKILL | |||
118 | 114 | ||
119 | config RT61PCI_LEDS | 115 | config RT61PCI_LEDS |
120 | bool "RT61 leds support" | 116 | bool "RT61 leds support" |
121 | depends on RT61PCI | 117 | depends on RT61PCI && LEDS_CLASS |
122 | select RT2X00_LIB_LEDS | 118 | select RT2X00_LIB_LEDS |
123 | ---help--- | 119 | ---help--- |
124 | This adds support for led triggers provided my mac80211. | 120 | This adds support for led triggers provided my mac80211. |
@@ -134,7 +130,7 @@ config RT2500USB | |||
134 | 130 | ||
135 | config RT2500USB_LEDS | 131 | config RT2500USB_LEDS |
136 | bool "RT2500 leds support" | 132 | bool "RT2500 leds support" |
137 | depends on RT2500USB && BROKEN | 133 | depends on RT2500USB && LEDS_CLASS |
138 | select RT2X00_LIB_LEDS | 134 | select RT2X00_LIB_LEDS |
139 | ---help--- | 135 | ---help--- |
140 | This adds support for led triggers provided my mac80211. | 136 | This adds support for led triggers provided my mac80211. |
@@ -152,7 +148,7 @@ config RT73USB | |||
152 | 148 | ||
153 | config RT73USB_LEDS | 149 | config RT73USB_LEDS |
154 | bool "RT73 leds support" | 150 | bool "RT73 leds support" |
155 | depends on RT73USB && BROKEN | 151 | depends on RT73USB && LEDS_CLASS |
156 | select RT2X00_LIB_LEDS | 152 | select RT2X00_LIB_LEDS |
157 | ---help--- | 153 | ---help--- |
158 | This adds support for led triggers provided my mac80211. | 154 | This adds support for led triggers provided my mac80211. |