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 7b790e24533eed8e657ce8e2b0cf7797d0e02248..f3fdb0a4b7d85ce3b9ba56fd844184afb4c28f34 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 176c4851080c1e1f8b28c317d3346a7cea5a7bc7..cf56e465b9859f7a2863d87cac08a6bab74f6800 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 e7fbfbe58a6800dc96da82610625305f573b8013..b7dd4af96fcd965f9f58083d0ee25e147423b960 100755 (executable)
@@ -516,6 +516,9 @@ ar71xx_board_detect() {
        *WNR2000)
                name="wnr2000"
                ;;
+       *WNR2200)
+               name="wnr2200"
+               ;;
        *"WNR612 V2")
                name="wnr612-v2"
                ;;