From: Gabor Juhos Date: Thu, 19 Sep 2013 16:56:50 +0000 (+0000) Subject: ar71xx: add user-space support for the WNR2200 board X-Git-Tag: reboot~9243 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=3d4b042c4bb4c8c1c6393ec5e4392c0455e4372a;p=openwrt%2Fopenwrt.git 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 --- 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" ;;