summaryrefslogtreecommitdiff
path: root/drivers/leds/trigger/Kconfig
diff options
context:
space:
mode:
authorBen Whitten <ben.whitten@gmail.com>2017-12-11 00:17:55 +0300
committerJacek Anaszewski <jacek.anaszewski@gmail.com>2018-01-08 23:28:11 +0300
commit06f502f57d0d7728f9fa0f157ec5e4111ddb98f6 (patch)
tree8b393a5c1d6ba40be9c8ba45ffb24909bbdb052f /drivers/leds/trigger/Kconfig
parente0d422987936958b41999f62ea64f1dd0102606f (diff)
downloadlinux-06f502f57d0d7728f9fa0f157ec5e4111ddb98f6.tar.xz
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/Kconfig7
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