aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/modules/other.mk
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2007-10-20 07:45:08 +0000
committerGabor Juhos <juhosg@openwrt.org>2007-10-20 07:45:08 +0000
commit01166f129e6eec2e9d84aac102c3a0e7cae8f6f7 (patch)
tree05aae0b214a822725d5bd468c045b3749958d8a7 /package/kernel/modules/other.mk
parente7e439aa92c7247a80e49727f03cc5af4eb4e040 (diff)
downloadupstream-01166f129e6eec2e9d84aac102c3a0e7cae8f6f7.tar.gz
upstream-01166f129e6eec2e9d84aac102c3a0e7cae8f6f7.tar.bz2
upstream-01166f129e6eec2e9d84aac102c3a0e7cae8f6f7.zip
[adm5120] add LEDs trigger for switch port states, thanks to Bernhard Held (closes: #2153)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9362 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel/modules/other.mk')
-rw-r--r--package/kernel/modules/other.mk19
1 files changed, 18 insertions, 1 deletions
diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk
index 5961369840..ca454a1c6e 100644
--- a/package/kernel/modules/other.mk
+++ b/package/kernel/modules/other.mk
@@ -279,12 +279,29 @@ define KernelPackage/leds-adm5120
endef
define KernelPackage/leds-adm5120/description
- Kernel module for LEDs on ADM5120 based boards
+ Kernel module for LEDs on ADM5120 based boards.
endef
$(eval $(call KernelPackage,leds-adm5120))
+define KernelPackage/ledtrig-adm5120-switch
+ SUBMENU:=$(OTHER_MENU)
+ TITLE:=LED ADM5120 Switch Port Status Trigger
+ DEPENDS:=@TARGET_adm5120
+ KCONFIG:=CONFIG_LEDS_TRIGGER_ADM5120_SWITCH
+ FILES:=$(LINUX_DIR)/drivers/leds/ledtrig-adm5120-switch.$(LINUX_KMOD_SUFFIX)
+ AUTOLOAD:=$(call AutoLoad,50,ledtrig-adm5120-switch)
+endef
+
+define KernelPackage/ledtrig-adm5120-switch/description
+ Kernel module to allow LEDs to be controlled by the port states
+ of the ADM5120 built-in ethernet switch.
+endef
+
+$(eval $(call KernelPackage,ledtrig-adm5120-switch))
+
+
define KernelPackage/leds-net48xx
SUBMENU:=$(OTHER_MENU)
TITLE:=Soekris Net48xx LED support