aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
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
commit8613f5da46c087addce88a5c3123bd58671c163e (patch)
treedfcae4889d04de592cb87dd4de8b8e2b6c957bf4 /target/linux
parentf7b84c92099ede5feeb210f97fd2617201228f13 (diff)
downloadupstream-8613f5da46c087addce88a5c3123bd58671c163e.tar.gz
upstream-8613f5da46c087addce88a5c3123bd58671c163e.tar.bz2
upstream-8613f5da46c087addce88a5c3123bd58671c163e.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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38060 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-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"
;;