aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorChukun Pan <amadeus@jmu.edu.cn>2023-03-19 23:21:35 +0800
committerChristian Marangi <ansuelsmth@gmail.com>2023-04-21 18:44:36 +0200
commit800ce7f7b44fcffbccd3fadde3235e0dddfb6c69 (patch)
tree2c5070008daf9c80b8a861f0f2e67cde24124030 /target
parentc7c3208192cc7227b99db6233ebf35f20c4cfcf9 (diff)
downloadupstream-800ce7f7b44fcffbccd3fadde3235e0dddfb6c69.tar.gz
upstream-800ce7f7b44fcffbccd3fadde3235e0dddfb6c69.tar.bz2
upstream-800ce7f7b44fcffbccd3fadde3235e0dddfb6c69.zip
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 <amadeus@jmu.edu.cn>
Diffstat (limited to 'target')
-rw-r--r--target/linux/mediatek/filogic/base-files/etc/board.d/02_network4
1 files changed, 3 insertions, 1 deletions
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 3d76e4d502..730064695d 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
;;