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
commit868412ff3a5b6f3b318f14afd4f0573396c00102 (patch)
tree4e5fa7fb8fc2775f511a9e6dc2622ad63b6bed6b
parentac6aa244a86d86f4ef7a3fc9390a34f2a94b8ab6 (diff)
downloadupstream-868412ff3a5b6f3b318f14afd4f0573396c00102.tar.gz
upstream-868412ff3a5b6f3b318f14afd4f0573396c00102.tar.bz2
upstream-868412ff3a5b6f3b318f14afd4f0573396c00102.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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36461 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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"
;;