aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/etc/uci-defaults
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2014-08-11 11:44:51 +0000
committerImre Kaloz <kaloz@openwrt.org>2014-08-11 11:44:51 +0000
commitecba34a3eed3dc747b5e2588dc138dee178ebed2 (patch)
treeafca2e3737c07a87640499c0b8f46623eb7a530e /target/linux/ar71xx/base-files/etc/uci-defaults
parent43029544e25dc4794534d5a430572758a578759c (diff)
downloadupstream-ecba34a3eed3dc747b5e2588dc138dee178ebed2.tar.gz
upstream-ecba34a3eed3dc747b5e2588dc138dee178ebed2.tar.bz2
upstream-ecba34a3eed3dc747b5e2588dc138dee178ebed2.zip
add support for the NC-LINK SMART-300
Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 42130
Diffstat (limited to 'target/linux/ar71xx/base-files/etc/uci-defaults')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/01_leds9
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/02_network1
2 files changed, 10 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
index a93b5faeed..d104f40786 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
@@ -190,6 +190,15 @@ om5p)
ucidef_set_led_netdev "port2" "port2" "om5p:blue:lan" "eth1"
;;
+smart-300)
+ ucidef_set_led_netdev "wan" "WAN" "nc-link:green:wan" "eth0"
+ ucidef_set_led_switch "lan1" "LAN1" "nc-link:green:lan1" "switch0" "0x04"
+ ucidef_set_led_switch "lan2" "LAN2" "nc-link:green:lan2" "switch0" "0x08"
+ ucidef_set_led_switch "lan3" "LAN3" "nc-link:green:lan3" "switch0" "0x10"
+ ucidef_set_led_switch "lan4" "LAN4" "nc-link:green:lan4" "switch0" "0x02"
+ ucidef_set_led_wlan "wlan" "WLAN" "nc-link:green:wlan" "phy0tpt"
+ ;;
+
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/uci-defaults/02_network b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
index c9ee86769a..3b4b330be4 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
@@ -199,6 +199,7 @@ tl-wr941nd)
ucidef_set_interfaces_lan_wan "lan1 lan2 lan3 lan4" "wan"
;;
+smart-300 | \
tl-mr3420-v2 |\
tl-wr841n-v8 |\
tl-wr842n-v2 |\