summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/etc
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-08-22 20:12:24 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-08-22 20:12:24 +0000
commit73fc90f4eccf3f1f8ca389ee6b9b00461f460806 (patch)
tree9d05dbc9191fe5cf30091a9a7b841bdcba29ed6b /target/linux/ar71xx/base-files/etc
parent616abf736ecb3de8e626dd192130d914b684ac00 (diff)
ar71xx: TEW-712BR user space support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33232 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/base-files/etc')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/diag.sh3
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/leds9
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/network1
3 files changed, 13 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index 406d0b1d1..6759cf043 100755
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -112,6 +112,9 @@ get_status_led() {
tew-673gru)
status_led="trendnet:blue:wps"
;;
+ tew-712br)
+ status_led="trendnet:green:power"
+ ;;
tl-mr3020)
status_led="tp-link:green:wps"
;;
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/leds b/target/linux/ar71xx/base-files/etc/uci-defaults/leds
index 0f17f9b8d..5e2548e52 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/leds
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/leds
@@ -76,6 +76,15 @@ om2p-lc)
ucidef_set_led_netdev "port2" "port2" "om2p:blue:lan" "eth1"
;;
+tew-712br)
+ ucidef_set_led_netdev "wan" "WAN" "trendnet:green:wan" "eth1"
+ ucidef_set_led_switch "lan1" "LAN1" "trendnet:green:lan1" "switch0" "0x02"
+ ucidef_set_led_switch "lan2" "LAN2" "trendnet:green:lan2" "switch0" "0x04"
+ ucidef_set_led_switch "lan3" "LAN3" "trendnet:green:lan3" "switch0" "0x08"
+ ucidef_set_led_switch "lan4" "LAN4" "trendnet:green:lan4" "switch0" "0x10"
+ ucidef_set_led_wlan "wlan" "WLAN" "trendnet:green:wlan" "phy0tpt"
+ ;;
+
tl-mr11u | \
tl-mr3020)
ucidef_set_led_usbdev "usb" "USB" "tp-link:green:3g" "1-1"
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/network b/target/linux/ar71xx/base-files/etc/uci-defaults/network
index 31d757233..440771641 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/network
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/network
@@ -167,6 +167,7 @@ ja76pf |\
rb-750 |\
rb-751 |\
tew-632brp |\
+tew-712br |\
tl-mr3220 |\
tl-mr3420 |\
tl-wr741nd |\