add new led trigger for network traffic, fixes #2776
authorJohn Crispin <john@openwrt.org>
Fri, 7 Mar 2008 21:34:54 +0000 (21:34 +0000)
committerJohn Crispin <john@openwrt.org>
Fri, 7 Mar 2008 21:34:54 +0000 (21:34 +0000)
SVN-Revision: 10567

package/kernel/modules/other.mk

index 5f82c8a66f6e4af26741cbd59a0672e4c6130b86..f430c284cac8983ee9039d26d47f0dade25f2244 100644 (file)
@@ -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