From d2886a1e72abd91fba68ffa58be8889cbe3f8228 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Mon, 1 Sep 2014 13:22:12 +0000 Subject: add support for the NC-LINK SMART-300 Signed-off-by: Imre Kaloz Backport of r42130 git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42393 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ar71xx/base-files/etc/uci-defaults/01_leds | 9 +++++++++ target/linux/ar71xx/base-files/etc/uci-defaults/02_network | 1 + 2 files changed, 10 insertions(+) (limited to 'target/linux/ar71xx/base-files/etc/uci-defaults') 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 d9c46c3319..d3b766d4d8 100755 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds @@ -191,6 +191,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 0d1e331465..c5cfd67430 100755 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network @@ -200,6 +200,7 @@ tl-wr941nd) ucidef_set_interfaces_lan_wan "lan1 lan2 lan3 lan4" "wan" ;; +smart-300 | \ tl-mr3420-v2 |\ tl-wr841n-v8 |\ tl-wr842n-v2 |\ -- cgit v1.2.3