diff options
author | David Lutz <kpanic@hirnduenger.de> | 2016-12-12 15:59:03 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2016-12-16 11:12:46 +0100 |
commit | aada15af93db6bfb248239f011bafe22c613fbf3 (patch) | |
tree | f043529ea943d1a6b389981c080ce14fd336027e /target/linux/ar71xx/base-files/lib | |
parent | 93227e4d3fb81332f1dcb6eaa158ddf914ca67a6 (diff) | |
download | upstream-aada15af93db6bfb248239f011bafe22c613fbf3.tar.gz upstream-aada15af93db6bfb248239f011bafe22c613fbf3.tar.bz2 upstream-aada15af93db6bfb248239f011bafe22c613fbf3.zip |
ar71xx: add support for TP-LINK TL-WR940N v4
Signed-off-by: David Lutz <kpanic@hirnduenger.de>
Diffstat (limited to 'target/linux/ar71xx/base-files/lib')
3 files changed, 8 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index 63fd188eab..2cfd017be9 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -250,6 +250,9 @@ tplink_board_detect() { "090100"*) model="TP-Link TL-WA901N/ND" ;; + "094000"*) + model="TP-Link TL-WR940N" + ;; "094100"*) if [ "$hwid" = "09410002" -a "$mid" = "00420001" ]; then model="Rosewill RNX-N360RT" @@ -1029,6 +1032,9 @@ ar71xx_board_detect() { *"TL-WR941N/ND v6") name="tl-wr941nd-v6" ;; + *"TL-WR940N v4") + name="tl-wr940n-v4" + ;; *"TL-WR703N v1") name="tl-wr703n" ;; diff --git a/target/linux/ar71xx/base-files/lib/preinit/05_set_preinit_iface_ar71xx b/target/linux/ar71xx/base-files/lib/preinit/05_set_preinit_iface_ar71xx index ae632e0ea4..d677599d8c 100644 --- a/target/linux/ar71xx/base-files/lib/preinit/05_set_preinit_iface_ar71xx +++ b/target/linux/ar71xx/base-files/lib/preinit/05_set_preinit_iface_ar71xx @@ -37,6 +37,7 @@ set_preinit_iface() { tl-wr841n-v8 |\ tl-wr842n-v2 |\ tl-wr941nd-v6 |\ + tl-wr940n-v4 |\ wnr2000-v3 |\ wnr2200 |\ wnr612-v2 |\ diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh index 52719c0067..42cc1dd947 100755 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh @@ -396,6 +396,7 @@ platform_check_image() { tl-wr842n-v3|\ tl-wr941nd-v5|\ tl-wr941nd-v6|\ + tl-wr940n-v4|\ tl-wr941nd) local magic_ver="0100" |