From 9ccabb3f42230ddb01a23afdea51eb09106cfa46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= Date: Mon, 2 Jun 2025 17:45:44 +0200 Subject: [PATCH] bmips: huawei,hg556a-b: configure LAN LEDs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Now that the external switch is working properly we can configure the LAN LEDs. Signed-off-by: Álvaro Fernández Rojas --- target/linux/bmips/bcm6358/base-files/etc/board.d/01_leds | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/target/linux/bmips/bcm6358/base-files/etc/board.d/01_leds b/target/linux/bmips/bcm6358/base-files/etc/board.d/01_leds index 74fdef28fb3..08919eb82c0 100644 --- a/target/linux/bmips/bcm6358/base-files/etc/board.d/01_leds +++ b/target/linux/bmips/bcm6358/base-files/etc/board.d/01_leds @@ -7,6 +7,10 @@ board_config_update case "$(board_name)" in huawei,hg556a-b) + ucidef_set_led_netdev "lan1" "LAN1" "green:lan1" "lan1" + ucidef_set_led_netdev "lan2" "LAN2" "green:lan2" "lan2" + ucidef_set_led_netdev "lan3" "LAN3" "green:lan3" "lan3" + ucidef_set_led_netdev "lan4" "LAN4" "green:lan4" "lan4" ucidef_set_led_usbport "usb" "USB" "red:hspa" "1-1-port1" "1-1-port2" "usb1-port2" "usb2-port2" ;; esac