[openwrt/openwrt] mediatek: filogic: fix network config for mt7986a-rfb
LEDE Commits
lede-commits at lists.infradead.org
Fri Apr 21 09:45:06 PDT 2023
ansuel pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/800ce7f7b44fcffbccd3fadde3235e0dddfb6c69
commit 800ce7f7b44fcffbccd3fadde3235e0dddfb6c69
Author: Chukun Pan <amadeus at jmu.edu.cn>
AuthorDate: Sun Mar 19 23:21:35 2023 +0800
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 at jmu.edu.cn>
---
target/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 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
;;
More information about the lede-commits
mailing list