From 3d8cb2300e578d50f86a758a5e8bb74ebf25afa8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= Date: Sun, 6 Dec 2020 19:20:04 +0100 Subject: [PATCH] bcm63xx: fix ADB P.DG A4001N A-000-1A1-AX LEDs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- target/linux/bcm63xx/base-files/etc/board.d/01_leds | 10 ++-------- 1 file 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 299bb117e99..fe8a54f5d86 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" ;;