1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-19 14:08:17 +02:00

ath79: Use -v1 suffix for TP-Link WDR3600/4300

In ath79, identifiers tplink_tl-wdr3600 and tplink_tl-wdr4300 have
been used while most other TP-Link devices include the revision.

Although there actually is only one major revision of these
devices, they bear the revision on their bottom (v1.x). TP-Link
also refers to the devices as V1 on its web page.

This patch thus adds -v1 to both so it is more consistent
with other devices and with what you would expect from reading
the on-device sticker and the support pages.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
This commit is contained in:
Adrian Schmutzler 2019-06-16 12:51:57 +02:00 committed by Petr Štetiar
parent 340df72e07
commit ab02584685
5 changed files with 14 additions and 14 deletions

@ -191,8 +191,8 @@ ath79_setup_interfaces()
tplink,archer-c6-v2|\
tplink,archer-c7-v4|\
tplink,archer-c7-v5|\
tplink,tl-wdr3600|\
tplink,tl-wdr4300|\
tplink,tl-wdr3600-v1|\
tplink,tl-wdr4300-v1|\
tplink,tl-wr941n-v7-cn)
ucidef_add_switch "switch0" \
"0@eth0" "2:lan:1" "3:lan:2" "4:lan:3" "5:lan:4" "1:wan"

@ -152,8 +152,8 @@ case "$FIRMWARE" in
ath9k_patch_fw_mac_crc $(macaddr_add $(mtd_get_mac_text "mac" 24) 1) 2
;;
ocedo,raccoon|\
tplink,tl-wdr3600|\
tplink,tl-wdr4300|\
tplink,tl-wdr3600-v1|\
tplink,tl-wdr4300-v1|\
tplink,tl-wdr4900-v2|\
winchannel,wb2000)
ath9k_eeprom_extract "art" 20480 1088

@ -4,6 +4,6 @@
#include "ar9344_tplink_tl-wdr4300.dtsi"
/ {
model = "TP-Link WDR3600";
compatible = "tplink,tl-wdr3600", "qca,ar9344";
model = "TP-Link TL-WDR3600 v1";
compatible = "tplink,tl-wdr3600-v1", "qca,ar9344";
};

@ -4,6 +4,6 @@
#include "ar9344_tplink_tl-wdr4300.dtsi"
/ {
model = "TP-Link WDR4300";
compatible = "tplink,tl-wdr4300", "qca,ar9344";
model = "TP-Link TL-WDR4300 v1";
compatible = "tplink,tl-wdr4300-v1", "qca,ar9344";
};

@ -203,25 +203,25 @@ define Device/tplink_re450-v2
endef
TARGET_DEVICES += tplink_re450-v2
define Device/tplink_tl-wdr3600
define Device/tplink_tl-wdr3600-v1
$(Device/tplink-8mlzma)
ATH_SOC := ar9344
DEVICE_TITLE := TP-Link TL-WDR3600
DEVICE_TITLE := TP-Link TL-WDR3600 v1
DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
TPLINK_HWID := 0x36000001
SUPPORTED_DEVICES += tl-wdr4300
endef
TARGET_DEVICES += tplink_tl-wdr3600
TARGET_DEVICES += tplink_tl-wdr3600-v1
define Device/tplink_tl-wdr4300
define Device/tplink_tl-wdr4300-v1
$(Device/tplink-8mlzma)
ATH_SOC := ar9344
DEVICE_TITLE := TP-Link TL-WDR4300
DEVICE_TITLE := TP-Link TL-WDR4300 v1
DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
TPLINK_HWID := 0x43000001
SUPPORTED_DEVICES += tl-wdr4300
endef
TARGET_DEVICES += tplink_tl-wdr4300
TARGET_DEVICES += tplink_tl-wdr4300-v1
define Device/tplink_tl-wdr4900-v2
$(Device/tplink-8mlzma)