summaryrefslogtreecommitdiff
path: root/target/linux
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
commit525fcc6e1144958378b6c03288e7b8392fb21e20 (patch)
treeaa846969aaebf4d6efe865f9cf915f263459d711 /target/linux
parent8b920136a0c009830463e8c06b233d575253443f (diff)
downloadmtk-20170518-525fcc6e1144958378b6c03288e7b8392fb21e20.zip
mtk-20170518-525fcc6e1144958378b6c03288e7b8392fb21e20.tar.gz
mtk-20170518-525fcc6e1144958378b6c03288e7b8392fb21e20.tar.bz2
ar71xx: add user-space support for the TEW-732BR board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38132
Diffstat (limited to 'target/linux')
-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 6ee49d1..3962aa2 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 e85930d..457b3bd 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 68be1e2..31b8821 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 508b40e..f7e05070 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 | \