diff options
author | Larry Finger <Larry.Finger@lwfinger.net> | 2009-04-16 20:56:38 -0400 |
---|---|---|
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) |
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 | |||
433 | 433 | ||
434 | Thanks to Realtek for their support! | 434 | Thanks to Realtek for their support! |
435 | 435 | ||
436 | # If possible, automatically enable LEDs for RTL8187. | ||
437 | |||
438 | config RTL8187_LEDS | ||
439 | bool | ||
440 | depends on RTL8187 && MAC80211_LEDS && (LEDS_CLASS = y || LEDS_CLASS = RTL8187) | ||
441 | default y | ||
442 | |||
436 | config ADM8211 | 443 | config ADM8211 |
437 | tristate "ADMtek ADM8211 support" | 444 | tristate "ADMtek ADM8211 support" |
438 | depends on MAC80211 && PCI && WLAN_80211 && EXPERIMENTAL | 445 | depends on MAC80211 && PCI && WLAN_80211 && EXPERIMENTAL |