summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/base-files
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 /target/linux/ar71xx/base-files
parentb29b7b65eaa2f39b3ea7596fc475e95748701430 (diff)
downloadmtk-20170518-7c2632fbc595e53e305b7651c970cb0ec1bee1cc.zip
mtk-20170518-7c2632fbc595e53e305b7651c970cb0ec1bee1cc.tar.gz
mtk-20170518-7c2632fbc595e53e305b7651c970cb0ec1bee1cc.tar.bz2
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
Diffstat (limited to 'target/linux/ar71xx/base-files')
-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 a8d2c76..ca58a39 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 47d5f08..b7056f2 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"
;;