ar71xx: add user-space support for TL-MR3040 v2
authorGabor Juhos <juhosg@openwrt.org>
Wed, 25 Sep 2013 18:42:11 +0000 (18:42 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Wed, 25 Sep 2013 18:42:11 +0000 (18:42 +0000)
Signed-off-by: Mads Hansen <d@taba.se>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 38191

target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
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 457b3bdaa5de8b29f9280ca249bc3646ee8339f1..bd1c4b78b557980981daa48b797d8a793509c06d 100755 (executable)
@@ -132,7 +132,8 @@ tew-732br)
 
 tl-mr11u | \
 tl-mr3020 | \
-tl-mr3040)
+tl-mr3040 | \
+tl-mr3040-v2)
        ucidef_set_led_usbdev "usb" "USB" "tp-link:green:3g" "1-1"
        ucidef_set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt"
        ucidef_set_led_netdev "lan" "LAN" "tp-link:green:lan"  "eth0"
index b654bbbd353b31180308df330294874fc17f57fa..3d6ab29ad9ff5f183b42f2534a15e7f0f48a6894 100755 (executable)
@@ -225,6 +225,7 @@ tl-mr11u |\
 tl-mr13u |\
 tl-mr3020 |\
 tl-mr3040 |\
+tl-mr3040-v2 |\
 tl-wa901nd |\
 tl-wa901nd-v2 |\
 tl-wr703n |\
index 31b8821746611f99c2978e22b4b68845b97d5b41..06786e770df4bfb6b5a6eb5967df00b290931228 100755 (executable)
@@ -426,6 +426,9 @@ ar71xx_board_detect() {
        *TL-MR3040)
                name="tl-mr3040"
                ;;
+       *"TL-MR3040 v2")
+               name="tl-mr3040-v2"
+               ;;
        *TL-MR3220)
                name="tl-mr3220"
                ;;
index f7e0507043673ce97aeb8aef1ffa62b9079243e1..356da2d43baa78971367e46ae1d8ba9a147688c9 100755 (executable)
@@ -183,6 +183,7 @@ platform_check_image() {
        tl-mr13u | \
        tl-mr3020 | \
        tl-mr3040 | \
+       tl-mr3040-v2 | \
        tl-mr3220 | \
        tl-mr3220-v2 | \
        tl-mr3420 | \