summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-02-08 16:26:25 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-02-08 16:26:25 +0000
commitb99e4f9ccd4b9f5ecb751589e8832bec0d796083 (patch)
tree2f33ea563f9c42638f427649efdfb11f8f34ccc4 /target/linux/ar71xx/base-files
parent0ffbe196d54476d5fe91c5f5d76b060cd42d5403 (diff)
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 775911301..3d57854af 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 613b2a0e8..4dfb43c67 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 82b53f161..ab619f169 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 3adfcd58b..91b04c5de 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 | \