From b054729899560aa9faea594dd7df573883f0cf3f Mon Sep 17 00:00:00 2001 From: Adrian Schmutzler Date: Wed, 11 Mar 2020 16:00:56 +0100 Subject: [PATCH] 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 --- .../linux/ath79/generic/base-files/etc/board.d/02_network | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/target/linux/ath79/generic/base-files/etc/board.d/02_network b/target/linux/ath79/generic/base-files/etc/board.d/02_network index ac29c53ced..168399d566 100755 --- a/target/linux/ath79/generic/base-files/etc/board.d/02_network +++ b/target/linux/ath79/generic/base-files/etc/board.d/02_network @@ -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" -- 2.30.2