aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-04-26 17:00:54 +0000
committerGabor Juhos <juhosg@openwrt.org>2013-04-26 17:00:54 +0000
commit7c2632fbc595e53e305b7651c970cb0ec1bee1cc (patch)
treec767b2049e609d1b5c55541ecbff8ec758c0d733
parentb29b7b65eaa2f39b3ea7596fc475e95748701430 (diff)
downloadupstream-7c2632fbc595e53e305b7651c970cb0ec1bee1cc.tar.gz
upstream-7c2632fbc595e53e305b7651c970cb0ec1bee1cc.tar.bz2
upstream-7c2632fbc595e53e305b7651c970cb0ec1bee1cc.zip
ar71xx: add user-space support for WNR2000v3
Signed-off-by: Mathieu Olivari <mathieu.olivari@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 36461
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/02_network3
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh3
2 files changed, 5 insertions, 1 deletions
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 a8d2c767d8..ca58a39ca7 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
@@ -152,7 +152,8 @@ tl-wr941nd)
;;
tl-mr3420-v2 |\
-tl-wr841n-v8)
+tl-wr841n-v8 |\
+wnr2000-v3)
ucidef_set_interfaces_lan_wan "eth1" "eth0"
ucidef_add_switch "switch0" "1" "1"
ucidef_add_switch_vlan "switch0" "1" "0 1 2 3 4"
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index 47d5f08b6f..b7056f2cea 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -459,6 +459,9 @@ ar71xx_board_detect() {
*"WNDR4300")
name="wndr4300"
;;
+ *"WNR2000 V3")
+ name="wnr2000-v3"
+ ;;
*WNR2000)
name="wnr2000"
;;