ramips: fix switch port order for TP-Link Archer C20i
authorWalter Sonius <walterav1984@gmail.com>
Wed, 4 Dec 2019 20:07:58 +0000 (21:07 +0100)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Wed, 11 Dec 2019 21:46:13 +0000 (22:46 +0100)
commit022f3898b11de26027c49f889ae68bbd2259c9b5
tree3bfa410a578be2ae874f71116b5ee9e1310e8bac
parent5d92949019d898889a2f2c5412662af9083e5bee
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)
target/linux/ramips/base-files/etc/board.d/02_network