ar71xx: Add user-space support for TP-Link MR12U v1
authorJohn Crispin <john@openwrt.org>
Fri, 13 Feb 2015 07:29:03 +0000 (07:29 +0000)
committerJohn Crispin <john@openwrt.org>
Fri, 13 Feb 2015 07:29:03 +0000 (07:29 +0000)
This patch adds user-space support for the TL-MR12U board based on the mr13u patches.

Signed-off-by: Daniel Petre <daniel.petre@gmail.com>
SVN-Revision: 44426

target/linux/ar71xx/base-files/etc/diag.sh
target/linux/ar71xx/base-files/etc/uci-defaults/02_network
target/linux/ar71xx/base-files/lib/ar71xx.sh
target/linux/ar71xx/base-files/lib/upgrade/platform.sh

index aca94fa5bd8978ee4d6dd7f0f05bccfc9f9872b2..3cbf7fbd5ebb79c827be79efa94a87cb8d7a44a0 100644 (file)
@@ -237,6 +237,7 @@ get_status_led() {
        archer-c7 | \
        tl-wdr4900-v2 | \
        tl-mr10u | \
+       tl-mr12u | \
        tl-mr13u | \
        tl-wdr4300 | \
        tl-wr703n | \
index 706cb7f345bfea88ef71ecd3e21b12b55176be09..efc212ecc724576167f73be475c41adc8b8bdae0 100644 (file)
@@ -319,6 +319,7 @@ rb-sxt2n |\
 rb-sxt5n |\
 tl-mr10u |\
 tl-mr11u |\
+tl-mr12u |\
 tl-mr13u |\
 tl-mr3020 |\
 tl-mr3040 |\
index 99e44672fedba5389dded0ad7ca58bb50f114e91..6247f86fb084e9ce2fc196f2744e0e4c4e7adad5 100755 (executable)
@@ -180,6 +180,9 @@ tplink_board_detect() {
        "001101"*)
                model="TP-Link TL-MR11U"
                ;;
+       "001201"*)
+               model="TP-Link TL-MR12U"
+               ;;
        "001301"*)
                model="TP-Link TL-MR13U"
                ;;
@@ -726,6 +729,9 @@ ar71xx_board_detect() {
        *"TL-MR11U")
                name="tl-mr11u"
                ;;
+       *"TL-MR12U")
+               name="tl-mr12u"
+               ;;
        *"TL-MR13U")
                name="tl-mr13u"
                ;;
index d2a7d8e58fbd1c3bba544550316ba589a68fe7d1..f81c0ff72e2d3feed1291dd2068f199f4256dd6d 100755 (executable)
@@ -302,6 +302,7 @@ platform_check_image() {
        smart-300 | \
        tl-mr10u | \
        tl-mr11u | \
+       tl-mr12u | \
        tl-mr13u | \
        tl-mr3020 | \
        tl-mr3040 | \