[openwrt/openwrt] bcm63xx: fix ADB P.DG A4001N A-000-1A1-AX LEDs

LEDE Commits lede-commits at lists.infradead.org
Sun Dec 6 13:26:40 EST 2020


noltari pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/3d8cb2300e578d50f86a758a5e8bb74ebf25afa8

commit 3d8cb2300e578d50f86a758a5e8bb74ebf25afa8
Author: Álvaro Fernández Rojas <noltari at gmail.com>
AuthorDate: Sun Dec 6 19:20:04 2020 +0100

    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 at gmail.com>
---
 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 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"
 	;;



More information about the lede-commits mailing list