aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/etc
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2016-03-10 19:07:26 +0000
committerJohn Crispin <blogic@openwrt.org>2016-03-10 19:07:26 +0000
commit622ef1800223dd4155d8dea9a5449c67d4bb5ed2 (patch)
tree0917501900d2ec771076ff4acab20a1c32927d07 /target/linux/ar71xx/base-files/etc
parenta988d3db4ad7dbff842dbd9d24cb555e06b4d681 (diff)
downloadmaster-187ad058-622ef1800223dd4155d8dea9a5449c67d4bb5ed2.tar.gz
master-187ad058-622ef1800223dd4155d8dea9a5449c67d4bb5ed2.tar.bz2
master-187ad058-622ef1800223dd4155d8dea9a5449c67d4bb5ed2.zip
ar71xx: add support for the Telldus TellStick ZNet Lite
Signed-off-by: Micke Prag <micke.prag@telldus.se> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48977 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/base-files/etc')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/board.d/01_leds5
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/board.d/02_network5
-rw-r--r--target/linux/ar71xx/base-files/etc/diag.sh3
3 files changed, 13 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/board.d/01_leds b/target/linux/ar71xx/base-files/etc/board.d/01_leds
index 6cec5dfbdd..eff6e0d451 100755
--- a/target/linux/ar71xx/base-files/etc/board.d/01_leds
+++ b/target/linux/ar71xx/base-files/etc/board.d/01_leds
@@ -407,6 +407,11 @@ smart-300)
ucidef_set_led_wlan "wlan" "WLAN" "nc-link:green:wlan" "phy0tpt"
;;
+tellstick-znet-lite)
+ ucidef_set_led_netdev "lan_act" "LANACT" "tellstick:green:lan" "eth0" "tx rx"
+ ucidef_set_led_netdev "lan_link" "LANLINK" "tellstick:orange:lan" "eth0" "link"
+ ;;
+
tew-712br)
ucidef_set_led_netdev "wan" "WAN" "trendnet:green:wan" "eth1"
ucidef_set_led_switch "lan1" "LAN1" "trendnet:green:lan1" "switch0" "0x02"
diff --git a/target/linux/ar71xx/base-files/etc/board.d/02_network b/target/linux/ar71xx/base-files/etc/board.d/02_network
index 799d98e881..e88ef3a5ed 100755
--- a/target/linux/ar71xx/base-files/etc/board.d/02_network
+++ b/target/linux/ar71xx/base-files/etc/board.d/02_network
@@ -192,6 +192,11 @@ el-m150)
"0:lan" "1:lan" "3@eth1" # XXX: confirm!
;;
+tellstick-znet-lite)
+ ucidef_set_interface_wan "eth0" "dhcp"
+ ucidef_set_interface_raw "wlan" "wlan0" "dhcp"
+ ;;
+
tl-wdr4300|\
tl-wr1041n-v2)
ucidef_add_switch "switch0" \
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index db69757d9f..d083a799fa 100644
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -263,6 +263,9 @@ get_status_led() {
qihoo-c301)
status_led="qihoo:green:status"
;;
+ tellstick-znet-lite)
+ status_led="tellstick:white:system"
+ ;;
tew-632brp)
status_led="tew-632brp:green:status"
;;