ar71xx: add user-space support for the TEW-732BR board
authorGabor Juhos <juhosg@openwrt.org>
Mon, 23 Sep 2013 09:49:02 +0000 (09:49 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Mon, 23 Sep 2013 09:49:02 +0000 (09:49 +0000)
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 38132

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

index 6ee49d1..3962aa2 100755 (executable)
@@ -113,7 +113,8 @@ get_status_led() {
        tew-673gru)
                status_led="trendnet:blue:wps"
                ;;
-       tew-712br)
+       tew-712br|\
+       tew-732br)
                status_led="trendnet:green:power"
                ;;
        tl-mr3020)
index e85930d..457b3bd 100755 (executable)
@@ -126,6 +126,10 @@ tew-712br)
        ucidef_set_led_wlan "wlan" "WLAN" "trendnet:green:wlan" "phy0tpt"
        ;;
 
+tew-732br)
+       ucidef_set_led_netdev "wan" "WAN" "trendnet:green:wan" "eth1"
+       ;;
+
 tl-mr11u | \
 tl-mr3020 | \
 tl-mr3040)
index 68be1e2..31b8821 100755 (executable)
@@ -405,6 +405,9 @@ ar71xx_board_detect() {
        *TEW-712BR)
                name="tew-712br"
                ;;
+       *TEW-732BR)
+               name="tew-732br"
+               ;;
        *"TL-WR1041N v2")
                name="tl-wr1041n-v2"
                ;;
index 508b40e..f7e0507 100755 (executable)
@@ -122,6 +122,7 @@ platform_check_image() {
        mzk-w300nh | \
        tew-632brp | \
        tew-712br | \
+       tew-732br | \
        wrt400n | \
        airrouter | \
        bullet-m | \