diff options
author | Walter Sonius <walterav1984@gmail.com> | 2019-12-04 21:07:58 +0100 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2019-12-11 22:46:13 +0100 |
commit | 022f3898b11de26027c49f889ae68bbd2259c9b5 (patch) | |
tree | 3bfa410a578be2ae874f71116b5ee9e1310e8bac /target/linux/ramips | |
parent | 5d92949019d898889a2f2c5412662af9083e5bee (diff) | |
download | upstream-022f3898b11de26027c49f889ae68bbd2259c9b5.tar.gz upstream-022f3898b11de26027c49f889ae68bbd2259c9b5.tar.bz2 upstream-022f3898b11de26027c49f889ae68bbd2259c9b5.zip |
ramips: fix switch port order for TP-Link Archer C20i
Physical port order watched from the backside of the C20i
(from left to right) is: Internet / 1 / 2 / 3 / 4
Physical Port Switch port
WAN 0
LAN 3 1
LAN 4 2
LAN 1 3
LAN 2 4
(not used) 5
CPU 6
Signed-off-by: Walter Sonius <walterav1984@gmail.com>
[commit message/title improvements; backport to 18.06]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
(cherry picked from commit a065cd29bf2dfd1ce1f07becd65aef96cec658e7)
Diffstat (limited to 'target/linux/ramips')
-rwxr-xr-x | target/linux/ramips/base-files/etc/board.d/02_network | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_network index 951eae1618..d94b705cfe 100755 --- a/target/linux/ramips/base-files/etc/board.d/02_network +++ b/target/linux/ramips/base-files/etc/board.d/02_network @@ -189,7 +189,6 @@ ramips_setup_interfaces() atp-52b|\ awm002-evb-4M|\ awm002-evb-8M|\ - c20i|\ dir-645|\ f5d8235-v2|\ gl-mt300a|\ @@ -222,6 +221,7 @@ ramips_setup_interfaces() ucidef_add_switch "switch0" \ "1:lan" "2:lan" "3:lan" "4:lan" "0:wan" "6@eth0" ;; + c20i|\ c50|\ tplink,c20-v1) ucidef_add_switch "switch0" \ |