[openwrt/openwrt] mediatek: mt7986a/b-rfb: fix 02_network setup
LEDE Commits
lede-commits at lists.infradead.org
Fri Sep 9 13:09:21 PDT 2022
dangole pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/a9233175e805a0176c8850e6fa8907c41b7797c5
commit a9233175e805a0176c8850e6fa8907c41b7797c5
Author: Chukun Pan <amadeus at jmu.edu.cn>
AuthorDate: Mon Sep 5 23:16:09 2022 +0800
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 <amadeus at jmu.edu.cn>
---
target/linux/mediatek/filogic/base-files/etc/board.d/02_network | 2 +-
1 file changed, 1 insertion(+), 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 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"
More information about the lede-commits
mailing list