ar71xx: use modules for LED triggers
authorGabor Juhos <juhosg@openwrt.org>
Tue, 27 Mar 2012 19:37:59 +0000 (19:37 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Tue, 27 Mar 2012 19:37:59 +0000 (19:37 +0000)
SVN-Revision: 31107

target/linux/ar71xx/Makefile
target/linux/ar71xx/base-files/etc/diag.sh
target/linux/ar71xx/config-3.2
target/linux/ar71xx/config-3.3

index 30610f8c6f4d32d75bb5099c27512a5d8e1e1cb3..589c1574b86454ba2555542d260070ebabeb78d9 100644 (file)
@@ -19,6 +19,7 @@ include $(INCLUDE_DIR)/target.mk
 
 DEFAULT_PACKAGES += \
        kmod-leds-gpio kmod-gpio-button-hotplug kmod-wdt-ath79 swconfig \
+       kmod-ledtrig-default-on kmod-ledtrig-timer kmod-ledtrig-netdev \
        kmod-ath9k wpad-mini uboot-envtools
 
 define Target/Description
index cbe15c68cc39cbb36fce42666eac6cda179c8ba1..09d4184f250b8fd193d025a92619a38c253487e9 100755 (executable)
@@ -162,6 +162,8 @@ set_state() {
        case "$1" in
        preinit)
                insmod leds-gpio
+               insmod ledtrig-default-on
+               insmod ledtrig-timer
                status_led_set_timer 200 200
                ;;
        failsafe)
index ced850af44c0075bb6b29dd6c6878ac2bc65a7a4..17741a48dc531cc387eb29fa158930f03907a71b 100644 (file)
@@ -144,6 +144,9 @@ CONFIG_IRQ_FORCED_THREADING=y
 # CONFIG_LANTIQ is not set
 # CONFIG_LEDS_GPIO is not set
 # CONFIG_LEDS_RB750 is not set
+# CONFIG_LEDS_TRIGGER_DEFAULT_ON is not set
+# CONFIG_LEDS_TRIGGER_NETDEV is not set
+# CONFIG_LEDS_TRIGGER_TIMER is not set
 # CONFIG_LEDS_WNDR3700_USB is not set
 # CONFIG_M25PXX_USE_FAST_READ is not set
 CONFIG_MARVELL_PHY=y
index a224cf2d1a025ee44241985ef0356b7fad916205..4ec33d5df7750c9b3bc7af16426e25a006655277 100644 (file)
@@ -150,6 +150,9 @@ CONFIG_IRQ_FORCED_THREADING=y
 # CONFIG_LANTIQ is not set
 # CONFIG_LEDS_GPIO is not set
 # CONFIG_LEDS_RB750 is not set
+# CONFIG_LEDS_TRIGGER_DEFAULT_ON is not set
+# CONFIG_LEDS_TRIGGER_NETDEV is not set
+# CONFIG_LEDS_TRIGGER_TIMER is not set
 # CONFIG_LEDS_WNDR3700_USB is not set
 # CONFIG_M25PXX_USE_FAST_READ is not set
 CONFIG_MARVELL_PHY=y