From 3d4b042c4bb4c8c1c6393ec5e4392c0455e4372a Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Thu, 19 Sep 2013 16:56:50 +0000 Subject: [PATCH] ar71xx: add user-space support for the WNR2200 board Signed-off-by: Aidan Kissane Signed-off-by: Dirk Neukirchen Patchwork: http://patchwork.openwrt.org/patch/4055/ Signed-off-by: Gabor Juhos SVN-Revision: 38060 --- target/linux/ar71xx/base-files/etc/diag.sh | 3 +++ target/linux/ar71xx/base-files/etc/uci-defaults/02_network | 1 + target/linux/ar71xx/base-files/lib/ar71xx.sh | 3 +++ 3 files changed, 7 insertions(+) diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh index 7b790e2453..f3fdb0a4b7 100755 --- a/target/linux/ar71xx/base-files/etc/diag.sh +++ b/target/linux/ar71xx/base-files/etc/diag.sh @@ -175,6 +175,9 @@ get_status_led() { wnr2000) status_led="wnr2000:green:power" ;; + wnr2200) + status_led="wnr2200:amber:power" + ;; wnr612-v2) status_led="wnr612v2:green:power" ;; 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 176c485108..cf56e465b9 100755 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network @@ -169,6 +169,7 @@ tl-wr941nd) tl-mr3420-v2 |\ tl-wr841n-v8 |\ wnr2000-v3 |\ +wnr2200 |\ wnr612-v2) ucidef_set_interfaces_lan_wan "eth1" "eth0" ucidef_add_switch "switch0" "1" "1" diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index e7fbfbe58a..b7dd4af96f 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -516,6 +516,9 @@ ar71xx_board_detect() { *WNR2000) name="wnr2000" ;; + *WNR2200) + name="wnr2200" + ;; *"WNR612 V2") name="wnr612-v2" ;; -- 2.30.2