aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/etc
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2014-11-03 20:20:56 +0000
committerJohn Crispin <blogic@openwrt.org>2014-11-03 20:20:56 +0000
commit1b0343012a2aeb8fd6e06fadd79daba7a2db59d9 (patch)
treee3ba1b63957cb091e469fbc94a44208d14025213 /target/linux/ar71xx/base-files/etc
parentebf8e128cc2d1e1e3318d89251d33598cc16874e (diff)
downloadupstream-1b0343012a2aeb8fd6e06fadd79daba7a2db59d9.tar.gz
upstream-1b0343012a2aeb8fd6e06fadd79daba7a2db59d9.tar.bz2
upstream-1b0343012a2aeb8fd6e06fadd79daba7a2db59d9.zip
ar71xx: add support for Netgear WNR2000v4
Signed-off-by: Michaƫl Burtin <mburtin@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43173 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/base-files/etc')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/01_leds10
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/02_network1
2 files changed, 11 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 599fc1920b..3547f49de4 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
@@ -432,6 +432,16 @@ wlae-ag300n)
ucidef_set_led_netdev "wireless" "WIRELESS" "buffalo:green:wireless" "wlan0"
;;
+wnr2000-v4)
+ ucidef_set_led_netdev "wan" "WAN" "wnr2000-v4:green:wan" "eth1"
+ ucidef_set_led_netdev "wlan" "WLAN" "wnr2000-v4:blue:wlan" "wlan0"
+ ucidef_set_led_switch "lan1" "LAN1" "wnr2000-v4:amber:lan1" "switch0" "0x04"
+ ucidef_set_led_switch "lan2" "LAN2" "wnr2000-v4:amber:lan2" "switch0" "0x08"
+ ucidef_set_led_switch "lan3" "LAN3" "wnr2000-v4:amber:lan3" "switch0" "0x10"
+ ucidef_set_led_switch "lan4" "LAN4" "wnr2000-v4:amber:lan4" "switch0" "0x02"
+ ucidef_set_led_usbdev "usb" "USB" "wnr2000-v4:amber:status" "1-1"
+ ;;
+
wzr-hp-ag300h)
ucidef_set_led_default "diag" "DIAG" "buffalo:red:diag" "0"
ucidef_set_led_netdev "router" "ROUTER" "buffalo:green:router" "eth1"
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 743f9de124..af8725e897 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
@@ -206,6 +206,7 @@ tl-mr3420-v2 |\
tl-wr841n-v8 |\
tl-wr842n-v2 |\
wnr2000-v3 |\
+wnr2000-v4 |\
wnr2200 |\
wnr612-v2)
ucidef_set_interfaces_lan_wan "eth1" "eth0"