ar71xx: add user-space support for the TP-Link TL-WA901ND v3 board
authorGabor Juhos <juhosg@openwrt.org>
Sun, 15 Dec 2013 21:34:19 +0000 (21:34 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Sun, 15 Dec 2013 21:34:19 +0000 (21:34 +0000)
Based-on: http://patchwork.openwrt.org/patch/4508/
Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39074

target/linux/ar71xx/base-files/etc/diag.sh
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 d5d6755..5d70cdb 100755 (executable)
@@ -139,6 +139,7 @@ get_status_led() {
        tl-wa801nd-v2 | \
        tl-wa901nd | \
        tl-wa901nd-v2 | \
+       tl-wa901nd-v3 | \
        tl-wdr3500 | \
        tl-wr1041n-v2 | \
        tl-wr1043nd | \
index c8e8336..71e5799 100755 (executable)
@@ -260,7 +260,8 @@ tl-wr842n-v2)
        ucidef_set_led_usbdev "usb" "USB" "tp-link:green:3g" "1-1"
        ;;
 
-tl-wa801nd-v2)
+tl-wa801nd-v2 | \
+tl-wa901nd-v3)
        ucidef_set_led_netdev "lan" "LAN" "tp-link:green:lan" "eth0"
        ucidef_set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt"
        ;;
index 1294591..ca57fbb 100755 (executable)
@@ -238,6 +238,7 @@ tl-wa850re |\
 tl-wa801nd-v2 |\
 tl-wa901nd |\
 tl-wa901nd-v2 |\
+tl-wa901nd-v3 |\
 tl-wr703n |\
 wndap360 |\
 mynet-rext |\
index d89f097..5f300df 100755 (executable)
@@ -480,6 +480,9 @@ ar71xx_board_detect() {
        *"TL-WA901ND v2")
                name="tl-wa901nd-v2"
                ;;
+       *"TL-WA901ND v3")
+               name="tl-wa901nd-v3"
+               ;;
        *"TL-WDR3500")
                name="tl-wdr3500"
                ;;
index 4aeb88f..3c988ef 100755 (executable)
@@ -217,6 +217,7 @@ platform_check_image() {
        tl-wa801nd-v2 | \
        tl-wa901nd | \
        tl-wa901nd-v2 | \
+       tl-wa901nd-v3 | \
        tl-wdr3500 | \
        tl-wdr4300 | \
        tl-wr703n | \