From b99e4f9ccd4b9f5ecb751589e8832bec0d796083 Mon Sep 17 00:00:00 2001 From: juhosg Date: Wed, 8 Feb 2012 16:26:25 +0000 Subject: ar71xx: add support for the TRENDNet TEW-673GRU board git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30376 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ar71xx/base-files/etc/diag.sh | 3 +++ target/linux/ar71xx/base-files/etc/uci-defaults/network | 3 ++- target/linux/ar71xx/base-files/lib/ar71xx.sh | 3 +++ target/linux/ar71xx/base-files/lib/upgrade/platform.sh | 1 + 4 files changed, 9 insertions(+), 1 deletion(-) (limited to 'target/linux/ar71xx/base-files') 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 | \ -- cgit v1.2.3