[openwrt/openwrt] mediatek: filogic: rename eth1 to wan in led setup for zyxel-ex5601-t0

LEDE Commits lede-commits at lists.infradead.org
Thu Oct 16 06:19:52 PDT 2025


nick pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/9b48cf6d94b121c7e7ef455757292f1ed5047d48

commit 9b48cf6d94b121c7e7ef455757292f1ed5047d48
Author: Andrew Sim <andrewsimz at gmail.com>
AuthorDate: Mon Oct 6 06:58:44 2025 +0200

    mediatek: filogic: rename eth1 to wan in led setup for zyxel-ex5601-t0
    
    the eth1 interface was renamed to wan so also reflect that change in
    the leds setup script
    
    Fixes: f26260c7e751 ("mediatek: filogic: Add label wan and cpu for Zyxel EX5601-T0")
    
    Signed-off-by: Andrew Sim <andrewsimz at gmail.com>
    Link: https://github.com/openwrt/openwrt/pull/20120
    Signed-off-by: Nick Hainke <vincent at systemli.org>
---
 target/linux/mediatek/filogic/base-files/etc/board.d/01_leds | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/target/linux/mediatek/filogic/base-files/etc/board.d/01_leds b/target/linux/mediatek/filogic/base-files/etc/board.d/01_leds
index 7e4512f30f..2443ab5407 100644
--- a/target/linux/mediatek/filogic/base-files/etc/board.d/01_leds
+++ b/target/linux/mediatek/filogic/base-files/etc/board.d/01_leds
@@ -245,9 +245,9 @@ zbtlink,zbt-z8103ax)
 zyxel,ex5601-t0-stock|\
 zyxel,ex5601-t0-ubootmod)
 	ucidef_set_led_netdev "lan1" "LAN1" "mdio-bus:05:green:lan" "lan1" "link tx rx"
-	ucidef_set_led_netdev "wan" "2.5G-WAN" "mdio-bus:06:green:wan" "eth1" "link_2500"
+	ucidef_set_led_netdev "wan" "2.5G-WAN" "mdio-bus:06:green:wan" "wan" "link_2500"
 	ucidef_set_led_netdev "lan" "LAN" "green:lan" "eth0" "link tx rx"
-	ucidef_set_led_netdev "internet" "INTERNET" "green:inet" "eth1" "link tx rx"
+	ucidef_set_led_netdev "internet" "INTERNET" "green:inet" "wan" "link tx rx"
 	ucidef_set_led_netdev "wifi-24g" "WIFI-2.4G" "green:wifi24g" "phy0-ap0" "link tx rx"
 	ucidef_set_led_netdev "wifi-5g" "WIFI-5G" "green:wifi5g" "phy1-ap0" "link tx rx"
 	;;




More information about the lede-commits mailing list