aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mediatek/base-files
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/mediatek/base-files')
-rwxr-xr-xtarget/linux/mediatek/base-files/etc/board.d/02_network6
1 files changed, 5 insertions, 1 deletions
diff --git a/target/linux/mediatek/base-files/etc/board.d/02_network b/target/linux/mediatek/base-files/etc/board.d/02_network
index d772ab013f..361771199f 100755
--- a/target/linux/mediatek/base-files/etc/board.d/02_network
+++ b/target/linux/mediatek/base-files/etc/board.d/02_network
@@ -10,8 +10,12 @@ mediatek_setup_interfaces()
case $board in
'mediatek,mt7623-rfb-emmc' | \
+ 'mediatek,mt7623-rfb-nand-ephy')
+ ucidef_set_interface_lan "lan0 lan1 lan2 lan3"
+ ucidef_set_interface_wan eth1
+ ;;
'mediatek,mt7623-rfb-nand')
- ucidef_set_interface_lan "lan1 lan2 lan3 lan4"
+ ucidef_set_interface_lan "lan0 lan1 lan2 lan3"
ucidef_set_interface_wan wan
;;
esac