aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rt2x00/Kconfig
diff options
context:
space:
mode:
authorIvo van Doorn <ivdoorn@gmail.com>2008-02-03 09:53:40 -0500
committerJohn W. Linville <linville@tuxdriver.com>2008-02-29 15:37:00 -0500
commita9450b70a755abf093600035ef5361c53343fe9a (patch)
tree94b509ea1e73454d327f805273a1fce994d95b1b /drivers/net/wireless/rt2x00/Kconfig
parentf2a3c7f5c8e3c1356dbbce1e9ac2e7f4d5365ba9 (diff)
rt2x00: Make use of MAC80211_LED_TRIGGERS
Make use of the led triggers provided by mac80211 to control the led status. This can be enabled through a per-driver configuration option which will automatically enable the generic handler in rt2x00lib. This has been enabled for rt2500usb and rt73usb for the moment since the led class will call set_brightness in irq context which will not work correctly with the usb drivers who need to sleep. 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/Kconfig28
1 files changed, 28 insertions, 0 deletions
diff --git a/drivers/net/wireless/rt2x00/Kconfig b/drivers/net/wireless/rt2x00/Kconfig
index 28f3e5e94ab6..88a6ef693862 100644
--- a/drivers/net/wireless/rt2x00/Kconfig
+++ b/drivers/net/wireless/rt2x00/Kconfig
@@ -38,6 +38,13 @@ config RT2X00_LIB_RFKILL
38 select RFKILL 38 select RFKILL
39 select INPUT_POLLDEV 39 select INPUT_POLLDEV
40 40
41config RT2X00_LIB_LEDS
42 boolean
43 depends on RT2X00_LIB
44 select LEDS_CLASS
45 select LEDS_TRIGGERS
46 select MAC80211_LEDS
47
41config RT2400PCI 48config RT2400PCI
42 tristate "Ralink rt2400 pci/pcmcia support" 49 tristate "Ralink rt2400 pci/pcmcia support"
43 depends on RT2X00 && PCI 50 depends on RT2X00 && PCI
@@ -57,6 +64,13 @@ config RT2400PCI_RFKILL
57 hardware button to control the radio state. 64 hardware button to control the radio state.
58 This feature depends on the RF switch subsystem rfkill. 65 This feature depends on the RF switch subsystem rfkill.
59 66
67config RT2400PCI_LEDS
68 bool "RT2400 leds support"
69 depends on RT2400PCI
70 select RT2X00_LIB_LEDS
71 ---help---
72 This adds support for led triggers provided my mac80211.
73
60config RT2500PCI 74config RT2500PCI
61 tristate "Ralink rt2500 pci/pcmcia support" 75 tristate "Ralink rt2500 pci/pcmcia support"
62 depends on RT2X00 && PCI 76 depends on RT2X00 && PCI
@@ -76,6 +90,13 @@ config RT2500PCI_RFKILL
76 hardware button to control the radio state. 90 hardware button to control the radio state.
77 This feature depends on the RF switch subsystem rfkill. 91 This feature depends on the RF switch subsystem rfkill.
78 92
93config RT2500PCI_LEDS
94 bool "RT2500 leds support"
95 depends on RT2500PCI
96 select RT2X00_LIB_LEDS
97 ---help---
98 This adds support for led triggers provided my mac80211.
99
79config RT61PCI 100config RT61PCI
80 tristate "Ralink rt61 pci/pcmcia support" 101 tristate "Ralink rt61 pci/pcmcia support"
81 depends on RT2X00 && PCI 102 depends on RT2X00 && PCI
@@ -96,6 +117,13 @@ config RT61PCI_RFKILL
96 hardware button to control the radio state. 117 hardware button to control the radio state.
97 This feature depends on the RF switch subsystem rfkill. 118 This feature depends on the RF switch subsystem rfkill.
98 119
120config RT61PCI_LEDS
121 bool "RT61 leds support"
122 depends on RT61PCI
123 select RT2X00_LIB_LEDS
124 ---help---
125 This adds support for led triggers provided my mac80211.
126
99config RT2500USB 127config RT2500USB
100 tristate "Ralink rt2500 usb support" 128 tristate "Ralink rt2500 usb support"
101 depends on RT2X00 && USB 129 depends on RT2X00 && USB