From: Chukun Pan Date: Sun, 19 Mar 2023 15:21:35 +0000 (+0800) Subject: mediatek: filogic: fix network config for mt7986a-rfb X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=800ce7f7b44fcffbccd3fadde3235e0dddfb6c69;p=openwrt%2Fstaging%2Frmilecki.git mediatek: filogic: fix network config for mt7986a-rfb Fix the network configuration according to the device tree. Fixes: 5faff99 ("mediatek: filogic: fix mt7986a ethernet devicetree entries") 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 3d76e4d5029..730064695d6 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 @@ -12,7 +12,9 @@ mediatek_setup_interfaces() CI_UBIPART="UBI_DEV" ucidef_set_interfaces_lan_wan "lan1 lan2 lan3 lan4" "eth1" ;; - mediatek,mt7986a-rfb|\ + mediatek,mt7986a-rfb) + ucidef_set_interfaces_lan_wan "lan1 lan2 lan3 lan4 lan6" "eth1 wan" + ;; mediatek,mt7986b-rfb) ucidef_set_interfaces_lan_wan "lan0 lan1 lan2 lan3" eth1 ;;