aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/etc
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2018-08-18 12:22:25 +0200
committerMathias Kresin <dev@kresin.me>2018-08-29 09:24:49 +0200
commit56e6ebdea42aab76d6ef54e0296c6bf946956684 (patch)
tree51b9e02821ba37614b84478e85974d2a39d4e2b7 /target/linux/ramips/base-files/etc
parentfe1e90deb4cacbac4841507b9bf2a85eb275a823 (diff)
downloadupstream-56e6ebdea42aab76d6ef54e0296c6bf946956684.tar.gz
upstream-56e6ebdea42aab76d6ef54e0296c6bf946956684.tar.bz2
upstream-56e6ebdea42aab76d6ef54e0296c6bf946956684.zip
ramips: fix multi colour led handling
All boards either have a multi colour led or a single lightpipe. It makes it impossible to handle the LEDs individual. Change the LED config for these boards to take it into account. Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/ramips/base-files/etc')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/01_leds11
1 files changed, 0 insertions, 11 deletions
diff --git a/target/linux/ramips/base-files/etc/board.d/01_leds b/target/linux/ramips/base-files/etc/board.d/01_leds
index a937cdba5e..0dd37a2637 100755
--- a/target/linux/ramips/base-files/etc/board.d/01_leds
+++ b/target/linux/ramips/base-files/etc/board.d/01_leds
@@ -298,9 +298,6 @@ mir3g)
ucidef_set_led_switch "lan1-amber" "LAN1 (amber)" "$boardname:amber:lan1" "switch0" "0x08" "0x08"
ucidef_set_led_switch "lan2-amber" "LAN2 (amber)" "$boardname:amber:lan2" "switch0" "0x04" "0x08"
;;
-miwifi-mini)
- ucidef_set_led_default "power" "power" "$boardname:red:status" "1"
- ;;
mlw221|\
mlwg2)
set_wifi_led "$boardname:blue:wifi"
@@ -332,9 +329,6 @@ netgear,r6120)
ucidef_set_led_wlan "wlan2g" "WiFi 2.4GHz" "$boardname:green:wlan2g" "phy0tpt"
ucidef_set_led_wlan "wlan5g" "WiFi 5GHz" "$boardname:green:wlan5g" "phy1tpt"
;;
-newifi-d1)
- set_usb_led "$boardname:red:status"
- ;;
nw718)
set_usb_led "$boardname:amber:usb"
;;
@@ -359,11 +353,6 @@ d-team,newifi-d2)
psg1208)
set_wifi_led "$boardname:white:wlan2g"
;;
-psg1218a|\
-psg1218b)
- ucidef_set_led_netdev "Network" "Network" "$boardname:blue:status" "eth0"
- ucidef_set_led_default "status" "STATUS" "$boardname:yellow:status" "0"
- ;;
px-4885-4M|\
px-4885-8M)
set_wifi_led "px-4885:orange:wifi"