From: Álvaro Fernández Rojas Date: Sun, 6 Dec 2020 18:20:04 +0000 (+0100) Subject: bcm63xx: fix ADB P.DG A4001N A-000-1A1-AX LEDs X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=3d8cb2300e578d50f86a758a5e8bb74ebf25afa8;p=openwrt%2Fstaging%2Fdangole.git 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 --- 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" ;;