From 18a2595315b2f123cc449f875a642857aee102b5 Mon Sep 17 00:00:00 2001 From: Chuanhong Guo Date: Thu, 2 Aug 2018 15:14:10 +0800 Subject: ath79: rename tl-archer-c7 to archer-c7 This router is called Archer C7 and the tl was used to identify TP-LINK. Since we have added tplink in dts/board name, the tl prefix is useless now. Signed-off-by: Chuanhong Guo --- target/linux/ath79/base-files/etc/board.d/02_network | 2 +- .../ath79/base-files/etc/hotplug.d/firmware/11-ath10k-caldata | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'target/linux/ath79/base-files/etc') 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 d88a0f368a..f0233b4b28 100755 --- a/target/linux/ath79/base-files/etc/board.d/02_network +++ b/target/linux/ath79/base-files/etc/board.d/02_network @@ -64,7 +64,7 @@ ath79_setup_interfaces() ucidef_add_switch "switch0" \ "0@eth0" "3:lan:1" "5:lan:2" "4:wan" ;; - tplink,tl-archer-c7-v2) + tplink,archer-c7-v2) ucidef_add_switch "switch0" \ "0@eth1" "2:lan" "3:lan" "4:lan" "5:lan" "6@eth0" "1:wan" ;; diff --git a/target/linux/ath79/base-files/etc/hotplug.d/firmware/11-ath10k-caldata b/target/linux/ath79/base-files/etc/hotplug.d/firmware/11-ath10k-caldata index 0d58ea0dd4..038573f3e8 100644 --- a/target/linux/ath79/base-files/etc/hotplug.d/firmware/11-ath10k-caldata +++ b/target/linux/ath79/base-files/etc/hotplug.d/firmware/11-ath10k-caldata @@ -91,13 +91,13 @@ case "$FIRMWARE" in ath10kcal_extract "ART" 20480 2116 ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth0/address) +16) ;; - tplink,re450-v2) + tplink,archer-c7-v2) ath10kcal_extract "art" 20480 2116 - ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth0/address) +1) + ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth1/address) -1) ;; - tplink,tl-archer-c7-v2) + tplink,re450-v2) ath10kcal_extract "art" 20480 2116 - ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth1/address) -1) + ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth0/address) +1) ;; ubnt,unifiac-lite|\ ubnt,unifiac-mesh|\ -- cgit v1.2.3