summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-04-26 17:00:54 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-04-26 17:00:54 +0000
commit0c961647509d17b829cba900c6aa4ab3fc870774 (patch)
tree4e5fa7fb8fc2775f511a9e6dc2622ad63b6bed6b
parent188a96a6076cdc2d9830fa4cabf1d2b75b0cefc5 (diff)
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"
;;