aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-09-23 09:49:02 +0000
committerGabor Juhos <juhosg@openwrt.org>2013-09-23 09:49:02 +0000
commita7d58e9791a2963f2074ca93b43e77c2a1dce0a6 (patch)
tree2eb4e18cb8255588d5435539353bb19aef524a47 /target/linux/ar71xx/base-files
parent8f083deaab52c86b1faec1cf346794a0590db396 (diff)
downloadupstream-a7d58e9791a2963f2074ca93b43e77c2a1dce0a6.tar.gz
upstream-a7d58e9791a2963f2074ca93b43e77c2a1dce0a6.tar.bz2
upstream-a7d58e9791a2963f2074ca93b43e77c2a1dce0a6.zip
ar71xx: add user-space support for the TEW-732BR board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38132 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/base-files')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/diag.sh3
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/01_leds4
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh3
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/upgrade/platform.sh1
4 files changed, 10 insertions, 1 deletions
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 | \