From ff541c5ca255f0c7e105dc7fe717f812470e39e7 Mon Sep 17 00:00:00 2001 From: Paul Wassi Date: Fri, 4 Jan 2019 22:26:01 +0100 Subject: [PATCH] ath79: rename TL-WR740ND-v4 to TL-WR740N-v4 Give the device the same name it had in ar71xx. Signed-off-by: Paul Wassi --- target/linux/ath79/base-files/etc/board.d/01_leds | 2 +- target/linux/ath79/base-files/etc/board.d/02_network | 2 +- ...ink_tl-wr740nd-v4.dts => ar9331_tplink_tl-wr740n-v4.dts} | 4 ++-- target/linux/ath79/image/tiny-tp-link.mk | 6 +++--- 4 files changed, 7 insertions(+), 7 deletions(-) rename target/linux/ath79/dts/{ar9331_tplink_tl-wr740nd-v4.dts => ar9331_tplink_tl-wr740n-v4.dts} (56%) diff --git a/target/linux/ath79/base-files/etc/board.d/01_leds b/target/linux/ath79/base-files/etc/board.d/01_leds index 2f65a8948b..6b4bec56ce 100755 --- a/target/linux/ath79/base-files/etc/board.d/01_leds +++ b/target/linux/ath79/base-files/etc/board.d/01_leds @@ -119,7 +119,7 @@ tplink,tl-wr941-v4) ucidef_set_led_switch "lan3" "LAN3" "tp-link:green:lan3" "switch0" "0x08" ucidef_set_led_switch "lan4" "LAN4" "tp-link:green:lan4" "switch0" "0x10" ;; -tplink,tl-wr740nd-v4|\ +tplink,tl-wr740n-v4|\ tplink,tl-wr741nd-v4|\ tplink,tl-wr841-v8|\ tplink,tl-wr842n-v2) 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 486a28defb..5b57986d5f 100755 --- a/target/linux/ath79/base-files/etc/board.d/02_network +++ b/target/linux/ath79/base-files/etc/board.d/02_network @@ -193,7 +193,7 @@ ath79_setup_interfaces() ucidef_add_switch "switch0" \ "0@eth1" "1:lan" "2:lan" "3:lan" "4:lan" ;; - tplink,tl-wr740nd-v4|\ + tplink,tl-wr740n-v4|\ tplink,tl-wr741nd-v4|\ tplink,tl-wr841-v8|\ tplink,tl-wr842n-v1|\ diff --git a/target/linux/ath79/dts/ar9331_tplink_tl-wr740nd-v4.dts b/target/linux/ath79/dts/ar9331_tplink_tl-wr740n-v4.dts similarity index 56% rename from target/linux/ath79/dts/ar9331_tplink_tl-wr740nd-v4.dts rename to target/linux/ath79/dts/ar9331_tplink_tl-wr740n-v4.dts index 1b0283ebfb..6775a7467f 100644 --- a/target/linux/ath79/dts/ar9331_tplink_tl-wr740nd-v4.dts +++ b/target/linux/ath79/dts/ar9331_tplink_tl-wr740n-v4.dts @@ -4,6 +4,6 @@ #include "ar9331_tplink_tl-wr741nd-v4.dtsi" / { - model = "TP-Link TL-WR740N/ND v4"; - compatible = "tplink,tl-wr740nd-v4", "qca,ar9331"; + model = "TP-Link TL-WR740N v4"; + compatible = "tplink,tl-wr740n-v4", "qca,ar9331"; }; diff --git a/target/linux/ath79/image/tiny-tp-link.mk b/target/linux/ath79/image/tiny-tp-link.mk index a7a6587889..41bea334d3 100644 --- a/target/linux/ath79/image/tiny-tp-link.mk +++ b/target/linux/ath79/image/tiny-tp-link.mk @@ -85,14 +85,14 @@ define Device/tplink_tl-wr740n-v3 endef TARGET_DEVICES += tplink_tl-wr740n-v3 -define Device/tplink_tl-wr740nd-v4 +define Device/tplink_tl-wr740n-v4 $(Device/tplink-4mlzma) ATH_SOC := ar9331 - DEVICE_TITLE := TP-LINK TL-WR740N/ND v4 + DEVICE_TITLE := TP-LINK TL-WR740N v4 TPLINK_HWID := 0x07400004 SUPPORTED_DEVICES += tl-wr740n-v4 endef -TARGET_DEVICES += tplink_tl-wr740nd-v4 +TARGET_DEVICES += tplink_tl-wr740n-v4 define Device/tplink_tl-wr741-v1 $(Device/tplink-4m)