aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-09-19 17:52:42 +0000
committerGabor Juhos <juhosg@openwrt.org>2013-09-19 17:52:42 +0000
commit5e3c7d14ecee6d82345e51bcb1eb7bc17759c62b (patch)
tree500e0aa7730a2488fa64f22f8b804c3f1fc83d6f
parente3e31835ae8df36e9b122b08f53476cfc7b6a929 (diff)
downloadupstream-5e3c7d14ecee6d82345e51bcb1eb7bc17759c62b.tar.gz
upstream-5e3c7d14ecee6d82345e51bcb1eb7bc17759c62b.tar.bz2
upstream-5e3c7d14ecee6d82345e51bcb1eb7bc17759c62b.zip
ar71xx: add user-space support for the TL-MR13U board
Signed-off-by: Oleg Titov <oleg.titov@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/4063/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38064
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/diag.sh1
-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, 9 insertions, 0 deletions
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 | \