aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/mt7621
diff options
context:
space:
mode:
authorDENG Qingfang <dengqf6@mail2.sysu.edu.cn>2020-03-20 00:26:08 +0800
committerChuanhong Guo <gch981213@gmail.com>2020-04-04 14:56:14 +0800
commitc24d6111f4c86c115d879b362e00554cc6f1b211 (patch)
tree2e615bb79bfdeb5d8ebe11b3d03c0572b4237b68 /target/linux/ramips/mt7621
parent53b66248f4ad4767f19ff243d8f839d9dea15b00 (diff)
downloadupstream-c24d6111f4c86c115d879b362e00554cc6f1b211.tar.gz
upstream-c24d6111f4c86c115d879b362e00554cc6f1b211.tar.bz2
upstream-c24d6111f4c86c115d879b362e00554cc6f1b211.zip
ramips: fix MikroTik 750Gr3 LAN ports names
They are labeled as LAN2..LAN5 instead of LAN1..LAN4 Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
Diffstat (limited to 'target/linux/ramips/mt7621')
-rwxr-xr-xtarget/linux/ramips/mt7621/base-files/etc/board.d/02_network3
1 files changed, 3 insertions, 0 deletions
diff --git a/target/linux/ramips/mt7621/base-files/etc/board.d/02_network b/target/linux/ramips/mt7621/base-files/etc/board.d/02_network
index e2a8a9392d..d73305981f 100755
--- a/target/linux/ramips/mt7621/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/mt7621/base-files/etc/board.d/02_network
@@ -39,6 +39,9 @@ ramips_setup_interfaces()
ubnt,unifi-nanohd)
ucidef_set_interface_lan "lan"
;;
+ mikrotik,rb750gr3)
+ ucidef_set_interfaces_lan_wan "lan2 lan3 lan4 lan5" "wan"
+ ;;
ubiquiti,edgerouterx|\
ubiquiti,edgerouterx-sfp)
ucidef_set_interface_lan "eth0 eth1 eth2 eth3 eth4"