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
commitdaf3a5a8ff2f4572f192d3013018a41491818c25 (patch)
tree2f33ea563f9c42638f427649efdfb11f8f34ccc4 /target/linux/ar71xx/base-files
parent85e9b90485c27c4b08146cb5c61af3f60579a806 (diff)
downloadupstream-daf3a5a8ff2f4572f192d3013018a41491818c25.tar.gz
upstream-daf3a5a8ff2f4572f192d3013018a41491818c25.tar.bz2
upstream-daf3a5a8ff2f4572f192d3013018a41491818c25.zip
ar71xx: add support for the TRENDNet TEW-673GRU board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30376 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/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 | \