aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/apm821xx/base-files
diff options
context:
space:
mode:
authorChristian Lamparter <chunkeey@googlemail.com>2016-08-30 19:42:39 +0200
committerJohn Crispin <john@phrozen.org>2016-09-08 13:40:03 +0200
commite9f86c6cac1802eca052f98d3a5874521b2a87cd (patch)
treefae6d4729f656938da0a3ac0297f9f05432970a5 /target/linux/apm821xx/base-files
parentf7c1d9c8a551dea1dfe50cbac4d84f949191887d (diff)
downloadupstream-e9f86c6cac1802eca052f98d3a5874521b2a87cd.tar.gz
upstream-e9f86c6cac1802eca052f98d3a5874521b2a87cd.tar.bz2
upstream-e9f86c6cac1802eca052f98d3a5874521b2a87cd.zip
apm821xx: backport generic HDD led-triggers for WNDR4700 and MBL
This patch backports the new generic HDD/SDD led-trigger from 4.8-rc1. Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Diffstat (limited to 'target/linux/apm821xx/base-files')
-rwxr-xr-xtarget/linux/apm821xx/base-files/etc/board.d/01_leds2
1 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/apm821xx/base-files/etc/board.d/01_leds b/target/linux/apm821xx/base-files/etc/board.d/01_leds
index 48fe139ce9..a1eeb8fda8 100755
--- a/target/linux/apm821xx/base-files/etc/board.d/01_leds
+++ b/target/linux/apm821xx/base-files/etc/board.d/01_leds
@@ -17,9 +17,11 @@ mr24)
;;
mbl)
+ ucidef_set_led_ide "sata" "SATA" "mbl:blue:power"
;;
wndr4700)
+ ucidef_set_led_ide "sata" "SATA" "wndr4700:green:hd"
ucidef_set_led_netdev "wan" "WAN (green)" "wndr4700:green:wan" "eth0.2"
ucidef_set_led_usbdev "usb3-1" "USB3-1" "wndr4700:blue:usb" "2-1"
ucidef_set_led_usbdev "usb3-2" "USB3-2" "wndr4700:blue:usb" "3-1"