aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-02-08 16:26:25 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-02-08 16:26:25 +0000
commit48e85cd47b74e318fa5be74d155f4ac1489007f1 (patch)
tree11bcfcae8a728995b6d707d39d7d8bcdddfcdcb0 /target/linux/ar71xx/base-files
parent09a8334a1e36e2610a01a726fd41383d0870038a (diff)
downloadupstream-48e85cd47b74e318fa5be74d155f4ac1489007f1.tar.gz
upstream-48e85cd47b74e318fa5be74d155f4ac1489007f1.tar.bz2
upstream-48e85cd47b74e318fa5be74d155f4ac1489007f1.zip
ar71xx: add support for the TRENDNet TEW-673GRU board
SVN-Revision: 30376
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/network3
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh3
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/upgrade/platform.sh1
4 files changed, 9 insertions, 1 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index 7759113015..3d57854afa 100755
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -98,6 +98,9 @@ get_status_led() {
tew-632brp)
status_led="tew-632brp:green:status"
;;
+ tew-673gru)
+ status_led="trendnet:blue:wps"
+ ;;
tl-mr3020)
status_led="tp-link:green:wps"
;;
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/network b/target/linux/ar71xx/base-files/etc/uci-defaults/network
index 613b2a0e87..4dfb43c673 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/network
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/network
@@ -25,7 +25,8 @@ db120)
ucidef_add_switch_vlan "switch0" "1" "0 1 2 3 4"
;;
-dir-825-b1)
+dir-825-b1|\
+tew-673gru)
ucidef_set_interfaces_lan_wan "eth0.1" "eth1"
ucidef_add_switch "rtl8366s" "1" "1"
ucidef_add_switch_vlan "rtl8366s" "1" "0 1 2 3 5t"
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index 82b53f1617..ab619f1694 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -256,6 +256,9 @@ ar71xx_board_detect() {
*TEW-632BRP)
name="tew-632brp"
;;
+ *TEW-673GRU)
+ name="tew-673gru"
+ ;;
*TL-WR1043ND)
name="tl-wr1043nd"
;;
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index 3adfcd58b3..91b04c5dea 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -102,6 +102,7 @@ platform_check_image() {
mzk-w04nu | \
mzk-w300nh | \
tew-632brp | \
+ tew-673gru | \
wrt400n | \
airrouter | \
bullet-m | \