[openwrt/openwrt] mediatek: mt7988a-rfb: align order of SFPs with SDK build

LEDE Commits lede-commits at lists.infradead.org
Mon Sep 2 01:26:25 PDT 2024


dangole pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/5fa86a4e2bd4e8c95460efc4a4a4a6f772f66238

commit 5fa86a4e2bd4e8c95460efc4a4a4a6f772f66238
Author: Daniel Golle <daniel at makrotopia.org>
AuthorDate: Mon Sep 2 10:14:20 2024 +0200

    mediatek: mt7988a-rfb: align order of SFPs with SDK build
    
    MediaTek SDK uses eth2 as additional LAN port and eth1 as WAN.
    Do the same also in OpenWrt to keep settings aligned with the SDK.
    
    Suggested-by: Bc-bocun Chen <bc-bocun.chen at mediatek.com>
    Signed-off-by: Daniel Golle <daniel at makrotopia.org>
---
 target/linux/mediatek/filogic/base-files/etc/board.d/02_network | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/mediatek/filogic/base-files/etc/board.d/02_network b/target/linux/mediatek/filogic/base-files/etc/board.d/02_network
index abe7682dfb..1eecfa81e3 100644
--- a/target/linux/mediatek/filogic/base-files/etc/board.d/02_network
+++ b/target/linux/mediatek/filogic/base-files/etc/board.d/02_network
@@ -82,7 +82,7 @@ mediatek_setup_interfaces()
 		ucidef_set_interfaces_lan_wan "lan0 lan1 lan2 lan3" eth1
 		;;
 	mediatek,mt7988a-rfb)
-		ucidef_set_interfaces_lan_wan "lan0 lan1 lan2 lan3 eth1" eth2
+		ucidef_set_interfaces_lan_wan "lan0 lan1 lan2 lan3 eth2" eth1
 		;;
 	mercusys,mr90x-v1)
 		ucidef_set_interfaces_lan_wan "lan0 lan1 lan2" eth1




More information about the lede-commits mailing list