ar71xx: add user-space support for the WNR2200 board
authorGabor Juhos <juhosg@openwrt.org>
Thu, 19 Sep 2013 16:56:50 +0000 (16:56 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Thu, 19 Sep 2013 16:56:50 +0000 (16:56 +0000)
Signed-off-by: Aidan Kissane <aidankissane@googlemail.com>
Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
Patchwork: http://patchwork.openwrt.org/patch/4055/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 38060

target/linux/ar71xx/base-files/etc/diag.sh
target/linux/ar71xx/base-files/etc/uci-defaults/02_network
target/linux/ar71xx/base-files/lib/ar71xx.sh

index 7b790e2..f3fdb0a 100755 (executable)
@@ -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"
                ;;
index 176c485..cf56e46 100755 (executable)
@@ -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"
index e7fbfbe..b7dd4af 100755 (executable)
@@ -516,6 +516,9 @@ ar71xx_board_detect() {
        *WNR2000)
                name="wnr2000"
                ;;
+       *WNR2200)
+               name="wnr2200"
+               ;;
        *"WNR612 V2")
                name="wnr612-v2"
                ;;