diff options
author | Ben Whitten <ben.whitten@gmail.com> | 2017-12-10 21:17:55 +0000 |
---|---|---|
committer | Jacek Anaszewski <jacek.anaszewski@gmail.com> | 2018-01-08 21:28:11 +0100 |
commit | 06f502f57d0d7728f9fa0f157ec5e4111ddb98f6 (patch) | |
tree | 8b393a5c1d6ba40be9c8ba45ffb24909bbdb052f /drivers/leds/trigger/Kconfig | |
parent | e0d422987936958b41999f62ea64f1dd0102606f (diff) | |
download | linux-06f502f57d0d7728f9fa0f157ec5e4111ddb98f6.tar.bz2 |
leds: trigger: Introduce a NETDEV trigger
This commit introduces a NETDEV trigger for named device
activity. Available triggers are link, rx, and tx.
Signed-off-by: Ben Whitten <ben.whitten@gmail.com>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Jacek Anaszewski <jacek.anaszewski@gmail.com>
Diffstat (limited to 'drivers/leds/trigger/Kconfig')
-rw-r--r-- | drivers/leds/trigger/Kconfig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/leds/trigger/Kconfig b/drivers/leds/trigger/Kconfig index 6dac48c457d1..a2559b4fdfff 100644 --- a/drivers/leds/trigger/Kconfig +++ b/drivers/leds/trigger/Kconfig @@ -135,4 +135,11 @@ config LEDS_TRIGGER_PANIC a different trigger. If unsure, say Y. +config LEDS_TRIGGER_NETDEV + tristate "LED Netdev Trigger" + depends on NET && LEDS_TRIGGERS + help + This allows LEDs to be controlled by network device activity. + If unsure, say Y. + endif # LEDS_TRIGGERS |