ath79: fix port order on TP-Link Archer C60 v1/v2
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>
Wed, 11 Mar 2020 15:00:56 +0000 (16:00 +0100)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Wed, 11 Mar 2020 15:09:16 +0000 (16:09 +0100)
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>
target/linux/ath79/generic/base-files/etc/board.d/02_network

index ac29c53cede5acaa5952adf92bde2cf200ff89b9..168399d5669877943f277080ed5d07455e9e95de 100755 (executable)
@@ -80,6 +80,8 @@ ath79_setup_interfaces()
                ;;
        buffalo,wzr-hp-ag300h|\
        tplink,archer-c25-v1|\
+       tplink,archer-c60-v1|\
+       tplink,archer-c60-v2|\
        tplink,tl-wdr3500-v1|\
        tplink,tl-wr842n-v1|\
        tplink,tl-wr842n-v3|\
@@ -106,9 +108,7 @@ ath79_setup_interfaces()
        ubnt,routerstation)
                ucidef_set_interfaces_lan_wan "eth1" "eth0"
                ;;
-       comfast,cf-e560ac|\
-       tplink,archer-c60-v1|\
-       tplink,archer-c60-v2)
+       comfast,cf-e560ac)
                ucidef_set_interface_wan "eth1"
                ucidef_add_switch "switch0" \
                        "0@eth0" "1:lan" "2:lan" "3:lan" "4:lan"