summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-04-26 17:00:49 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-04-26 17:00:49 +0000
commiteb56deb12b0f06b3d3d371d8978bce3313cbb451 (patch)
tree5664331a524a328063679c98ed2f1d41e6664f0f
parenteb269b5a830156eca82484cde8ee21100f7c06bc (diff)
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
-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 c107f4172..708e2c555 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 0329ea5eb..a8d2c767d 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 a9e063ba4..47d5f08b6 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 8f2f610d7..85e9d6128 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 | \