From 1d9bb65f14b4f42dc31b2096c6f1c75719bc87d9 Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Fri, 26 Apr 2013 17:00:49 +0000 Subject: [PATCH] ar71xx: add user-space support for the TL-WR720N v3 board Signed-off-by: yousong Signed-off-by: Gabor Juhos git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36457 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ar71xx/base-files/etc/diag.sh | 3 ++- target/linux/ar71xx/base-files/etc/uci-defaults/02_network | 1 + target/linux/ar71xx/base-files/lib/ar71xx.sh | 6 ++++++ target/linux/ar71xx/base-files/lib/upgrade/platform.sh | 1 + 4 files changed, 10 insertions(+), 1 deletion(-) 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 | \