aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-09-19 16:56:50 +0000
committerGabor Juhos <juhosg@openwrt.org>2013-09-19 16:56:50 +0000
commit3d4b042c4bb4c8c1c6393ec5e4392c0455e4372a (patch)
tree1d82d19cf23937f54b8b1e1ea6afc2314203ef1c
parent49ed06e36f9f80e5e02860dafa5cdfb83a743954 (diff)
downloadupstream-3d4b042c4bb4c8c1c6393ec5e4392c0455e4372a.tar.gz
upstream-3d4b042c4bb4c8c1c6393ec5e4392c0455e4372a.tar.bz2
upstream-3d4b042c4bb4c8c1c6393ec5e4392c0455e4372a.zip
ar71xx: add user-space support for the WNR2200 board
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
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/diag.sh3
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/02_network1
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh3
3 files changed, 7 insertions, 0 deletions
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"
;;