diff options
author | John Crispin <blogic@openwrt.org> | 2008-03-07 21:34:54 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2008-03-07 21:34:54 +0000 |
commit | 4d410632c18bc72a500f84fb6e0f45ccbb89f6cf (patch) | |
tree | 66df8a5441e3000bf5f649058df711d50ac4288b | |
parent | f1e06a15978e200ceea5a4cf5546eb9b17a68baa (diff) | |
download | upstream-4d410632c18bc72a500f84fb6e0f45ccbb89f6cf.tar.gz upstream-4d410632c18bc72a500f84fb6e0f45ccbb89f6cf.tar.bz2 upstream-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
-rw-r--r-- | package/kernel/modules/other.mk | 15 |
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 |