diff options
author | Larry Finger <Larry.Finger@lwfinger.net> | 2009-04-16 19:56:38 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-04-22 16:57:16 -0400 |
commit | a027087a6b4c7d985b872cac3e19ce023670792e (patch) | |
tree | 7c2b85a9e417f1ed432332967efb95287d39c458 /drivers/net/wireless/Kconfig | |
parent | 357303e2b61272b191f2e5d782d94fdd8f50fd71 (diff) | |
download | linux-a027087a6b4c7d985b872cac3e19ce023670792e.tar.gz linux-a027087a6b4c7d985b872cac3e19ce023670792e.tar.bz2 linux-a027087a6b4c7d985b872cac3e19ce023670792e.zip |
rtl8187: Implement TX/RX blink for LED
The following patch implements some control over the LED on RTL8187B and
RTL8187L devices. Triggers are registered for TX and RX. Whenever the
trigger event occurs, the LED is turned off for 1/20 second, then turned
back on.
Note: For those RTL8187X devices that are built into the computer and have
a LED that is expected to be controlled with a radio switch, this patch will
not operate that LED. That will take a separate patch to be prepared later.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Herton Ronaldo Krzesinski <herton@mandriva.com.br>
Tested-by: Hin-Tak Leung <htl10@users.sourceforge.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/Kconfig')
-rw-r--r-- | drivers/net/wireless/Kconfig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/net/wireless/Kconfig b/drivers/net/wireless/Kconfig index ad99470ae92d..11c248180982 100644 --- a/drivers/net/wireless/Kconfig +++ b/drivers/net/wireless/Kconfig @@ -433,6 +433,13 @@ config RTL8187 Thanks to Realtek for their support! +# If possible, automatically enable LEDs for RTL8187. + +config RTL8187_LEDS + bool + depends on RTL8187 && MAC80211_LEDS && (LEDS_CLASS = y || LEDS_CLASS = RTL8187) + default y + config ADM8211 tristate "ADMtek ADM8211 support" depends on MAC80211 && PCI && WLAN_80211 && EXPERIMENTAL |