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 d5d675509ac11a1b5c2c4012610cd42184860f0a..5d70cdb3bcd0db45f51426ea9cb471422d242331 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 c8e8336f07bc7eaed5b3b8f3844aeead54bbc3a7..71e57990c28cad919190188662c81849721d52b6 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 129459183540ada5905a2fd28ab7134263449078..ca57fbbcce577dfc926808be53684f6454bdbc78 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 d89f097a083d9b3b70970b760ffbde0e95754be3..5f300df0e5ae5269fbf8b53caf43b2bc15651421 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 4aeb88f023c6931804c88ff31cba27df9482850c..3c988ef937a9069bce83a5375b5fc22adad86b5c 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 | \