From: Daniel Golle Date: Mon, 2 Sep 2024 08:14:20 +0000 (+0200) Subject: mediatek: mt7988a-rfb: align order of SFPs with SDK build X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=5fa86a4e2bd4e8c95460efc4a4a4a6f772f66238;p=openwrt%2Fstaging%2Fthess.git 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 Signed-off-by: Daniel Golle --- 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