summaryrefslogtreecommitdiff
path: root/package/kernel
diff options
context:
space:
mode:
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-03-07 21:34:54 +0000
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-03-07 21:34:54 +0000
commit620388b2365b31be19f16e40f4790592696405e9 (patch)
tree66df8a5441e3000bf5f649058df711d50ac4288b /package/kernel
parentdc2f3c01399a9ca5a0a385b0108b1c24ce5ee202 (diff)
add new led trigger for network traffic, fixes #2776
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10567 3c298f89-4303-0410-b956-a3cf2f4a3e73
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