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 <gch981213@gmail.com>
This commit is contained in:
Chuanhong Guo 2018-08-02 15:14:10 +08:00 committed by Mathias Kresin
parent 2d5fee248c
commit 18a2595315
5 changed files with 9 additions and 9 deletions

View file

@ -64,7 +64,7 @@ ath79_setup_interfaces()
ucidef_add_switch "switch0" \ ucidef_add_switch "switch0" \
"0@eth0" "3:lan:1" "5:lan:2" "4:wan" "0@eth0" "3:lan:1" "5:lan:2" "4:wan"
;; ;;
tplink,tl-archer-c7-v2) tplink,archer-c7-v2)
ucidef_add_switch "switch0" \ ucidef_add_switch "switch0" \
"0@eth1" "2:lan" "3:lan" "4:lan" "5:lan" "6@eth0" "1:wan" "0@eth1" "2:lan" "3:lan" "4:lan" "5:lan" "6@eth0" "1:wan"
;; ;;

View file

@ -91,14 +91,14 @@ case "$FIRMWARE" in
ath10kcal_extract "ART" 20480 2116 ath10kcal_extract "ART" 20480 2116
ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth0/address) +16) ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth0/address) +16)
;; ;;
tplink,archer-c7-v2)
ath10kcal_extract "art" 20480 2116
ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth1/address) -1)
;;
tplink,re450-v2) tplink,re450-v2)
ath10kcal_extract "art" 20480 2116 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/eth0/address) +1)
;; ;;
tplink,tl-archer-c7-v2)
ath10kcal_extract "art" 20480 2116
ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth1/address) -1)
;;
ubnt,unifiac-lite|\ ubnt,unifiac-lite|\
ubnt,unifiac-mesh|\ ubnt,unifiac-mesh|\
ubnt,unifiac-mesh-pro|\ ubnt,unifiac-mesh-pro|\

View file

@ -4,10 +4,10 @@
#include <dt-bindings/gpio/gpio.h> #include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h> #include <dt-bindings/input/input.h>
#include "qca9558_tplink_tl-archer-c7.dtsi" #include "qca9558_tplink_archer-c7.dtsi"
/ { / {
compatible = "tplink,tl-archer-c7-v2", "qca,qca9558"; compatible = "tplink,archer-c7-v2", "qca,qca9558";
model = "TP-Link Archer C7 Version 2"; model = "TP-Link Archer C7 Version 2";
}; };

View file

@ -1,6 +1,6 @@
include ./common-tp-link.mk include ./common-tp-link.mk
define Device/tplink_tl-archer-c7-v2 define Device/tplink_archer-c7-v2
$(Device/tplink-16mlzma) $(Device/tplink-16mlzma)
ATH_SOC := qca9558 ATH_SOC := qca9558
DEVICE_TITLE := TP-LINK Archer C7 v2 DEVICE_TITLE := TP-LINK Archer C7 v2
@ -10,7 +10,7 @@ define Device/tplink_tl-archer-c7-v2
IMAGE/factory-us.bin := append-rootfs | mktplinkfw factory -C US IMAGE/factory-us.bin := append-rootfs | mktplinkfw factory -C US
IMAGE/factory-eu.bin := append-rootfs | mktplinkfw factory -C EU IMAGE/factory-eu.bin := append-rootfs | mktplinkfw factory -C EU
endef endef
TARGET_DEVICES += tplink_tl-archer-c7-v2 TARGET_DEVICES += tplink_archer-c7-v2
define Device/tplink_tl-re450-v2 define Device/tplink_tl-re450-v2
$(Device/tplink) $(Device/tplink)