aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorÁlvaro Fernández Rojas <noltari@gmail.com>2020-12-06 19:20:04 +0100
committerÁlvaro Fernández Rojas <noltari@gmail.com>2020-12-06 19:20:04 +0100
commit3d8cb2300e578d50f86a758a5e8bb74ebf25afa8 (patch)
tree62d90226471b549f4c5f55cec6fd5f56b1535efd
parent59c2f9eaad5688af523ff60d2f83d5d81447009b (diff)
downloadupstream-3d8cb2300e578d50f86a758a5e8bb74ebf25afa8.tar.gz
upstream-3d8cb2300e578d50f86a758a5e8bb74ebf25afa8.tar.bz2
upstream-3d8cb2300e578d50f86a758a5e8bb74ebf25afa8.zip
bcm63xx: fix ADB P.DG A4001N A-000-1A1-AX LEDs
There's no eth0.2 since all ethernet ports as configured as LAN. LAN LED is unneeded since all ethernet ports have their own LED. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
-rwxr-xr-xtarget/linux/bcm63xx/base-files/etc/board.d/01_leds10
1 files changed, 2 insertions, 8 deletions
diff --git a/target/linux/bcm63xx/base-files/etc/board.d/01_leds b/target/linux/bcm63xx/base-files/etc/board.d/01_leds
index 299bb117e9..fe8a54f5d8 100755
--- a/target/linux/bcm63xx/base-files/etc/board.d/01_leds
+++ b/target/linux/bcm63xx/base-files/etc/board.d/01_leds
@@ -27,9 +27,8 @@ adb,a4001n1)
ucidef_set_led_netdev "lan" "LAN" "green:eth" "eth0"
ucidef_set_led_usbdev "usb" "USB" "green:3g" "1-1"
;;
-adb,pdg-a4001n-a-000-1a1-ax)
- ucidef_set_led_netdev "lan" "LAN" "green:internet" "eth0.1"
- ucidef_set_led_netdev "wan" "WAN" "green:adsl" "eth0.2"
+adb,pdg-a4001n-a-000-1a1-ax|\
+technicolor,tg582n-telecom-italia)
ucidef_set_led_netdev "wlan0" "WIFI" "green:wifi" "wlan0"
ucidef_set_led_usbdev "usb1" "USB1" "green:service" "1-1"
ucidef_set_led_usbdev "usb2" "USB2" "red:service" "2-1"
@@ -98,11 +97,6 @@ technicolor,tg582n)
ucidef_set_led_netdev "wlan0" "WIFI" "green:wifi" "wlan0"
ucidef_set_led_usbdev "usb" "USB" "red:power" "1-1"
;;
-technicolor,tg582n-telecom-italia)
- ucidef_set_led_netdev "wlan0" "WIFI" "green:wifi" "wlan0"
- ucidef_set_led_usbdev "usb1" "USB1" "green:service" "1-1"
- ucidef_set_led_usbdev "usb2" "USB2" "red:service" "2-1"
- ;;
telsey,cpva502plus)
ucidef_set_led_netdev "lan" "LAN" "amber:link" "eth0"
;;