From 525fcc6e1144958378b6c03288e7b8392fb21e20 Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Mon, 23 Sep 2013 09:49:02 +0000 Subject: [PATCH] ar71xx: add user-space support for the TEW-732BR board Signed-off-by: Gabor Juhos SVN-Revision: 38132 --- target/linux/ar71xx/base-files/etc/diag.sh | 3 ++- target/linux/ar71xx/base-files/etc/uci-defaults/01_leds | 4 ++++ target/linux/ar71xx/base-files/lib/ar71xx.sh | 3 +++ target/linux/ar71xx/base-files/lib/upgrade/platform.sh | 1 + 4 files changed, 10 insertions(+), 1 deletion(-) diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh index 6ee49d1803..3962aa2854 100755 --- a/target/linux/ar71xx/base-files/etc/diag.sh +++ b/target/linux/ar71xx/base-files/etc/diag.sh @@ -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) diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds index e85930d802..457b3bdaa5 100755 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds @@ -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) diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index 68be1e237d..31b8821746 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -405,6 +405,9 @@ ar71xx_board_detect() { *TEW-712BR) name="tew-712br" ;; + *TEW-732BR) + name="tew-732br" + ;; *"TL-WR1041N v2") name="tl-wr1041n-v2" ;; diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh index 508b40ef7a..f7e0507043 100755 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh @@ -122,6 +122,7 @@ platform_check_image() { mzk-w300nh | \ tew-632brp | \ tew-712br | \ + tew-732br | \ wrt400n | \ airrouter | \ bullet-m | \