aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2008-03-07 21:34:54 +0000
committerJohn Crispin <blogic@openwrt.org>2008-03-07 21:34:54 +0000
commit4d410632c18bc72a500f84fb6e0f45ccbb89f6cf (patch)
tree66df8a5441e3000bf5f649058df711d50ac4288b /package
parentf1e06a15978e200ceea5a4cf5546eb9b17a68baa (diff)
downloadmaster-187ad058-4d410632c18bc72a500f84fb6e0f45ccbb89f6cf.tar.gz
master-187ad058-4d410632c18bc72a500f84fb6e0f45ccbb89f6cf.tar.bz2
master-187ad058-4d410632c18bc72a500f84fb6e0f45ccbb89f6cf.zip
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')
-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