From: Adrian Schmutzler Date: Wed, 11 Mar 2020 15:00:56 +0000 (+0100) Subject: ath79: fix port order on TP-Link Archer C60 v1/v2 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b054729899560aa9faea594dd7df573883f0cf3f;p=oweals%2Fopenwrt.git 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 --- 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"