aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2008-03-07 21:34:54 +0000
committerJohn Crispin <john@openwrt.org>2008-03-07 21:34:54 +0000
commitd0a1717399e7d402c1768299ed17bf07104f81b4 (patch)
tree52fdcba219c3b4a1e5f06b150744226a238c47b8 /package/kernel
parent9e6b3d16decd6804aa3452b0013838107e98ae77 (diff)
downloadupstream-d0a1717399e7d402c1768299ed17bf07104f81b4.tar.gz
upstream-d0a1717399e7d402c1768299ed17bf07104f81b4.tar.bz2
upstream-d0a1717399e7d402c1768299ed17bf07104f81b4.zip
add new led trigger for network traffic, fixes #2776
SVN-Revision: 10567
Diffstat (limited to 'package/kernel')
-rw-r--r--package/kernel/modules/other.mk15
1 files changed, 15 insertions, 0 deletions
diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk
index 5f82c8a66f..f430c284ca 100644
--- a/package/kernel/modules/other.mk
+++ b/package/kernel/modules/other.mk
@@ -352,6 +352,21 @@ endef
$(eval $(call KernelPackage,leds-alix))
+define KernelPackage/ledtrig-netdev
+ SUBMENU:=$(OTHER_MENU)
+ TITLE:=LED NETDEV Trigger
+ KCONFIG:=CONFIG_LEDS_TRIGGER_NETDEV
+ FILES:=$(LINUX_DIR)/drivers/leds/ledtrig-netdev.$(LINUX_KMOD_SUFFIX)
+ AUTOLOAD:=$(call AutoLoad,50,ledtrig-netdev)
+endef
+
+define KernelPackage/ledtrig-netdev/description
+ Kernel module to drive LEDs based on network activity.
+endef
+
+$(eval $(call KernelPackage,ledtrig-netdev))
+
+
define KernelPackage/ledtrig-morse
SUBMENU:=$(OTHER_MENU)
TITLE:=LED Morse Trigger