ath79: rename TL-WR740ND-v4 to TL-WR740N-v4

Give the device the same name it had in ar71xx.

Signed-off-by: Paul Wassi <p.wassi@gmx.at>
master
Paul Wassi 6 years ago committed by Christian Lamparter
parent da1107f8a5
commit ff541c5ca2
  1. 2
      target/linux/ath79/base-files/etc/board.d/01_leds
  2. 2
      target/linux/ath79/base-files/etc/board.d/02_network
  3. 4
      target/linux/ath79/dts/ar9331_tplink_tl-wr740n-v4.dts
  4. 6
      target/linux/ath79/image/tiny-tp-link.mk

@ -119,7 +119,7 @@ tplink,tl-wr941-v4)
ucidef_set_led_switch "lan3" "LAN3" "tp-link:green:lan3" "switch0" "0x08" ucidef_set_led_switch "lan3" "LAN3" "tp-link:green:lan3" "switch0" "0x08"
ucidef_set_led_switch "lan4" "LAN4" "tp-link:green:lan4" "switch0" "0x10" 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-wr741nd-v4|\
tplink,tl-wr841-v8|\ tplink,tl-wr841-v8|\
tplink,tl-wr842n-v2) tplink,tl-wr842n-v2)

@ -193,7 +193,7 @@ ath79_setup_interfaces()
ucidef_add_switch "switch0" \ ucidef_add_switch "switch0" \
"0@eth1" "1:lan" "2:lan" "3:lan" "4:lan" "0@eth1" "1:lan" "2:lan" "3:lan" "4:lan"
;; ;;
tplink,tl-wr740nd-v4|\ tplink,tl-wr740n-v4|\
tplink,tl-wr741nd-v4|\ tplink,tl-wr741nd-v4|\
tplink,tl-wr841-v8|\ tplink,tl-wr841-v8|\
tplink,tl-wr842n-v1|\ tplink,tl-wr842n-v1|\

@ -4,6 +4,6 @@
#include "ar9331_tplink_tl-wr741nd-v4.dtsi" #include "ar9331_tplink_tl-wr741nd-v4.dtsi"
/ { / {
model = "TP-Link TL-WR740N/ND v4"; model = "TP-Link TL-WR740N v4";
compatible = "tplink,tl-wr740nd-v4", "qca,ar9331"; compatible = "tplink,tl-wr740n-v4", "qca,ar9331";
}; };

@ -85,14 +85,14 @@ define Device/tplink_tl-wr740n-v3
endef endef
TARGET_DEVICES += tplink_tl-wr740n-v3 TARGET_DEVICES += tplink_tl-wr740n-v3
define Device/tplink_tl-wr740nd-v4 define Device/tplink_tl-wr740n-v4
$(Device/tplink-4mlzma) $(Device/tplink-4mlzma)
ATH_SOC := ar9331 ATH_SOC := ar9331
DEVICE_TITLE := TP-LINK TL-WR740N/ND v4 DEVICE_TITLE := TP-LINK TL-WR740N v4
TPLINK_HWID := 0x07400004 TPLINK_HWID := 0x07400004
SUPPORTED_DEVICES += tl-wr740n-v4 SUPPORTED_DEVICES += tl-wr740n-v4
endef endef
TARGET_DEVICES += tplink_tl-wr740nd-v4 TARGET_DEVICES += tplink_tl-wr740n-v4
define Device/tplink_tl-wr741-v1 define Device/tplink_tl-wr741-v1
$(Device/tplink-4m) $(Device/tplink-4m)

Loading…
Cancel
Save