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 6ee49d1803e3eb6176baafcc3d4ce931281a1613..3962aa285461f8fe66fa5f40fd78070c250bcd3d 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 e85930d802bc34598794b22b138006719a1a208e..457b3bdaa5de8b29f9280ca249bc3646ee8339f1 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 68be1e237d1e1b144b0dca30bacb7bac2d55e1c0..31b8821746611f99c2978e22b4b68845b97d5b41 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 508b40ef7a0194b0f53a75ebc069b1aa376d5414..f7e0507043673ce97aeb8aef1ffa62b9079243e1 100755 (executable)
@@ -122,6 +122,7 @@ platform_check_image() {
        mzk-w300nh | \
        tew-632brp | \
        tew-712br | \
+       tew-732br | \
        wrt400n | \
        airrouter | \
        bullet-m | \