aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-03-27 19:37:59 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-03-27 19:37:59 +0000
commit41b5fcad6d7a755194b4efeb769a9f1e26943cc3 (patch)
tree2c5e9c926e8d6d84e546547d25d8282118b47af3 /target/linux
parentd946336b61aaef3ac9f1c994ea6d4f66b14e05e2 (diff)
downloadupstream-41b5fcad6d7a755194b4efeb769a9f1e26943cc3.tar.gz
upstream-41b5fcad6d7a755194b4efeb769a9f1e26943cc3.tar.bz2
upstream-41b5fcad6d7a755194b4efeb769a9f1e26943cc3.zip
ar71xx: use modules for LED triggers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31107 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ar71xx/Makefile1
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/diag.sh2
-rw-r--r--target/linux/ar71xx/config-3.23
-rw-r--r--target/linux/ar71xx/config-3.33
4 files changed, 9 insertions, 0 deletions
diff --git a/target/linux/ar71xx/Makefile b/target/linux/ar71xx/Makefile
index 30610f8c6f..589c1574b8 100644
--- a/target/linux/ar71xx/Makefile
+++ b/target/linux/ar71xx/Makefile
@@ -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
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index cbe15c68cc..09d4184f25 100755
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -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)
diff --git a/target/linux/ar71xx/config-3.2 b/target/linux/ar71xx/config-3.2
index ced850af44..17741a48dc 100644
--- a/target/linux/ar71xx/config-3.2
+++ b/target/linux/ar71xx/config-3.2
@@ -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
diff --git a/target/linux/ar71xx/config-3.3 b/target/linux/ar71xx/config-3.3
index a224cf2d1a..4ec33d5df7 100644
--- a/target/linux/ar71xx/config-3.3
+++ b/target/linux/ar71xx/config-3.3
@@ -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