From 800ce7f7b44fcffbccd3fadde3235e0dddfb6c69 Mon Sep 17 00:00:00 2001 From: Chukun Pan Date: Sun, 19 Mar 2023 23:21:35 +0800 Subject: [PATCH] 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 --- .../linux/mediatek/filogic/base-files/etc/board.d/02_network | 4 +++- 1 file changed, 3 insertions(+), 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 3d76e4d50291..730064695d6a 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 ;; -- 2.30.2