aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-04-26 17:00:49 +0000
committerGabor Juhos <juhosg@openwrt.org>2013-04-26 17:00:49 +0000
commit1d9bb65f14b4f42dc31b2096c6f1c75719bc87d9 (patch)
tree5664331a524a328063679c98ed2f1d41e6664f0f /target/linux/ar71xx
parenta50f7b012f3bff18532bfb272e8d7367fca83a62 (diff)
downloadupstream-1d9bb65f14b4f42dc31b2096c6f1c75719bc87d9.tar.gz
upstream-1d9bb65f14b4f42dc31b2096c6f1c75719bc87d9.tar.bz2
upstream-1d9bb65f14b4f42dc31b2096c6f1c75719bc87d9.zip
ar71xx: add user-space support for the TL-WR720N v3 board
Signed-off-by: yousong <yszhou4tech@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36457 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/diag.sh3
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/02_network1
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh6
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/upgrade/platform.sh1
4 files changed, 10 insertions, 1 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index c107f4172c..708e2c5554 100755
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -133,7 +133,8 @@ get_status_led() {
status_led="tp-link:green:system"
;;
tl-wdr4300 | \
- tl-wr703n)
+ tl-wr703n | \
+ tl-wr720n-v3)
status_led="tp-link:blue:system"
;;
tl-wr2543n)
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
index 0329ea5eb1..a8d2c767d8 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
@@ -210,6 +210,7 @@ jwap003 |\
pb42 |\
pb44 |\
routerstation|\
+tl-wr720n-v3|\
wpe72)
ucidef_set_interfaces_lan_wan "eth1" "eth0"
;;
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index a9e063ba49..47d5f08b6f 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -75,6 +75,9 @@ tplink_board_detect() {
"070300"*)
model="TP-Link TL-WR703N"
;;
+ "072001"*)
+ model="TP-Link TL-WR720N"
+ ;;
"070100"*)
model="TP-Link TL-WA701N/ND"
;;
@@ -420,6 +423,9 @@ ar71xx_board_detect() {
*"TL-WR703N v1")
name="tl-wr703n"
;;
+ *"TL-WR720N v3")
+ name="tl-wr720n-v3"
+ ;;
*"TL-MR11U")
name="tl-mr11u"
;;
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index 8f2f610d7d..85e9d6128b 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -166,6 +166,7 @@ platform_check_image() {
tl-wdr3500 | \
tl-wdr4300 | \
tl-wr703n | \
+ tl-wr720n-v3 | \
tl-wr741nd | \
tl-wr741nd-v4 | \
tl-wr841n-v1 | \