mediatek: mt7988a-rfb: align order of SFPs with SDK build
authorDaniel Golle <daniel@makrotopia.org>
Mon, 2 Sep 2024 08:14:20 +0000 (10:14 +0200)
committerDaniel Golle <daniel@makrotopia.org>
Mon, 2 Sep 2024 08:14:20 +0000 (10:14 +0200)
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@mediatek.com>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
target/linux/mediatek/filogic/base-files/etc/board.d/02_network

index abe7682dfb861c2efe9a9045d367d2b984d03f31..1eecfa81e3418138882f4641da8209bb1a2b7a27 100644 (file)
@@ -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