diff options
author | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-03-11 16:00:56 +0100 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-03-14 13:20:29 +0100 |
commit | f1a3a6b79c944b66fea90825cc950bd29b39e86c (patch) | |
tree | 1255b38c80553985d81284e2358df6bcf0c03cf8 | |
parent | e4107e30a7730c87e1b977290d224412689b5120 (diff) | |
download | upstream-f1a3a6b79c944b66fea90825cc950bd29b39e86c.tar.gz upstream-f1a3a6b79c944b66fea90825cc950bd29b39e86c.tar.bz2 upstream-f1a3a6b79c944b66fea90825cc950bd29b39e86c.zip |
ath79: fix port order on TP-Link Archer C60 v1/v2
The labels on the LAN ports of the TP-Link Archer C60 v1/v2 are
actually inverted compared to the ports of the internal switch.
Add this information to 02_network.
This is the same for to-be-supported v3 of this device.
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
(cherry picked from commit b054729899560aa9faea594dd7df573883f0cf3f)
-rwxr-xr-x | target/linux/ath79/base-files/etc/board.d/02_network | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/target/linux/ath79/base-files/etc/board.d/02_network b/target/linux/ath79/base-files/etc/board.d/02_network index c985a823c4..08e7c29586 100755 --- a/target/linux/ath79/base-files/etc/board.d/02_network +++ b/target/linux/ath79/base-files/etc/board.d/02_network @@ -74,6 +74,8 @@ ath79_setup_interfaces() ;; buffalo,wzr-hp-ag300h|\ tplink,archer-c25-v1|\ + tplink,archer-c60-v1|\ + tplink,archer-c60-v2|\ tplink,tl-mr3220-v1|\ tplink,tl-mr3420-v1|\ tplink,tl-wr841-v7|\ @@ -214,12 +216,6 @@ ath79_setup_interfaces() ucidef_add_switch "switch0" \ "0@eth1" "2:lan" "3:lan" "4:lan" "5:lan" "6@eth0" "1:wan" ;; - tplink,archer-c60-v1|\ - tplink,archer-c60-v2) - ucidef_set_interface_wan "eth1" - ucidef_add_switch "switch0" \ - "0@eth0" "1:lan" "2:lan" "3:lan" "4:lan" - ;; tplink,archer-d50-v1) ucidef_add_switch "switch0" \ "0@eth0" "2:lan:3" "3:lan:2" "4:lan:1" "1:wan" |