From 95409f8f66375784f5fb106d98b91240d6b5cfa8 Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Thu, 19 Sep 2013 17:52:42 +0000 Subject: [PATCH] ar71xx: add user-space support for the TL-MR13U board Signed-off-by: Oleg Titov Patchwork: http://patchwork.openwrt.org/patch/4063/ Signed-off-by: Gabor Juhos SVN-Revision: 38064 --- target/linux/ar71xx/base-files/etc/diag.sh | 1 + 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, 9 insertions(+) diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh index f3fdb0a4b7..1456d6eebb 100755 --- a/target/linux/ar71xx/base-files/etc/diag.sh +++ b/target/linux/ar71xx/base-files/etc/diag.sh @@ -135,6 +135,7 @@ get_status_led() { ;; archer-c7 | \ tl-mr10u | \ + tl-mr13u | \ tl-wdr4300 | \ tl-wr703n | \ tl-wr710n | \ 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 cf56e465b9..d5a15066e3 100755 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network @@ -213,6 +213,7 @@ mr600v2 |\ rb-411 |\ tl-mr10u |\ tl-mr11u |\ +tl-mr13u |\ tl-mr3020 |\ tl-mr3040 |\ tl-wa901nd |\ diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index b7dd4af96f..f977a6db6a 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -141,6 +141,9 @@ tplink_board_detect() { "001101"*) model="TP-Link TL-MR11U" ;; + "001301"*) + model="TP-Link TL-MR13U" + ;; "302000"*) model="TP-Link TL-MR3020" ;; @@ -477,6 +480,9 @@ ar71xx_board_detect() { *"TL-MR11U") name="tl-mr11u" ;; + *"TL-MR13U") + name="tl-mr13u" + ;; *UniFi) name="unifi" ;; diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh index 8294fa43c8..8fbd3955ac 100755 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh @@ -161,6 +161,7 @@ platform_check_image() { archer-c7 | \ tl-mr10u | \ tl-mr11u | \ + tl-mr13u | \ tl-mr3020 | \ tl-mr3040 | \ tl-mr3220 | \ -- 2.30.2