aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/apm821xx/nand
diff options
context:
space:
mode:
authorChristian Lamparter <chunkeey@googlemail.com>2016-11-07 18:10:09 +0100
committerJohn Crispin <john@phrozen.org>2016-11-08 11:17:10 +0100
commitb5638bb64e790350ca0203e7cff60a10766dae20 (patch)
treefe2425efc7af09f2501dcabe7439e7a46692c614 /target/linux/apm821xx/nand
parent524d7a7cdeb12b2061dfadf91e12f3355d908f19 (diff)
downloadupstream-b5638bb64e790350ca0203e7cff60a10766dae20.tar.gz
upstream-b5638bb64e790350ca0203e7cff60a10766dae20.tar.bz2
upstream-b5638bb64e790350ca0203e7cff60a10766dae20.zip
apm821xx: redo WAN green and yellow LEDs
Because the WAN port is handled by the internal AR8327N switch, the device should use swconfig_leds trigger to handle the link activity of the WAN LED. This has the added bonus that the WAN LED will now go dark if there's no ethernet cable connected to the WAN port. Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Diffstat (limited to 'target/linux/apm821xx/nand')
-rw-r--r--target/linux/apm821xx/nand/config-default2
1 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/apm821xx/nand/config-default b/target/linux/apm821xx/nand/config-default
index 5d5d2a4bf4..d6bdbd74e2 100644
--- a/target/linux/apm821xx/nand/config-default
+++ b/target/linux/apm821xx/nand/config-default
@@ -38,4 +38,6 @@ CONFIG_UBIFS_FS=y
# CONFIG_UBIFS_FS_ADVANCED_COMPR is not set
CONFIG_SENSORS_LM90=y
CONFIG_SENSORS_TC654=y
+CONFIG_SWCONFIG=y
+CONFIG_SWCONFIG_LEDS=y
CONFIG_WNDR4700=y