From: Chukun Pan Date: Mon, 5 Sep 2022 15:16:09 +0000 (+0800) Subject: mediatek: mt7986a/b-rfb: fix 02_network setup X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=a9233175e805a0176c8850e6fa8907c41b7797c5;p=openwrt%2Fstaging%2Fnoltari.git mediatek: mt7986a/b-rfb: fix 02_network setup According to the device tree, the lan ports are lan0 to lan3, and the wan port is eth1. Fixes: cffc77a ("mediatek: add filogic subtarget") Signed-off-by: Chukun Pan --- 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 13afc2a3dc..f7dc7a01e0 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 @@ -10,7 +10,7 @@ mediatek_setup_interfaces() case $board in mediatek,mt7986a-rfb|\ mediatek,mt7986b-rfb) - ucidef_set_interfaces_lan_wan "lan1 lan2 lan3 lan4" wan + ucidef_set_interfaces_lan_wan "lan0 lan1 lan2 lan3" eth1 ;; bananapi,bpi-r3) ucidef_set_interfaces_lan_wan "lan1 lan2 lan3 lan4 sfp2" "eth1 wan"