aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorGabor Varga <vargagab@gmail.com>2019-12-09 23:03:58 +0100
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2019-12-11 23:00:32 +0100
commita283b1788a84e3d950e4f67fe8867f896b791116 (patch)
treefba5c956b618131f490bf0ceb2c4037d946a5a6d /target
parente00396d58420de96b660cfb918a0255f145c965f (diff)
downloadupstream-a283b1788a84e3d950e4f67fe8867f896b791116.tar.gz
upstream-a283b1788a84e3d950e4f67fe8867f896b791116.tar.bz2
upstream-a283b1788a84e3d950e4f67fe8867f896b791116.zip
ramips: fix switch port numbering for RT-AC65P/RT-AC85P
The switch LAN port numbers are in reversed order with original config. With this patch they are fixed. Port order checked on both devices. Signed-off-by: Gabor Varga <vargagab@gmail.com> [merged definitions into appropriate block, extended commit message] Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target')
-rwxr-xr-xtarget/linux/ramips/mt7621/base-files/etc/board.d/02_network4
1 files changed, 2 insertions, 2 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 bb6e41e06f..53a8868382 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
@@ -55,7 +55,9 @@ ramips_setup_interfaces()
asiarf,ap7621-nv1)
ucidef_add_switch "switch0" "0:wan" "2:lan" "3:lan" "6@eth0"
;;
+ asus,rt-ac65p|\
asus,rt-ac57u|\
+ asus,rt-ac85p|\
mikrotik,rb750gr3|\
ubiquiti,edgerouterx|\
ubiquiti,edgerouterx-sfp|\
@@ -63,8 +65,6 @@ ramips_setup_interfaces()
ucidef_add_switch "switch0" \
"1:lan" "2:lan" "3:lan" "4:lan" "0:wan" "6@eth0"
;;
- asus,rt-ac65p|\
- asus,rt-ac85p|\
dlink,dir-860l-b1|\
elecom,wrc-1167ghbk2-s|\
elecom,wrc-1900gst|\