aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-10-22 11:02:18 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-10-22 11:02:18 +0000
commita1837135e04b511a6204937c8ed00ba637cc6f0f (patch)
treefd6fdc6a190b5c6d5d9f5d548a76d2146200d42a /target/linux/ar71xx/base-files
parent4fde9deed11f56b65f389c7e83c70b7b5878222e (diff)
downloadupstream-a1837135e04b511a6204937c8ed00ba637cc6f0f.tar.gz
upstream-a1837135e04b511a6204937c8ed00ba637cc6f0f.tar.bz2
upstream-a1837135e04b511a6204937c8ed00ba637cc6f0f.zip
ar71xx: add support for buffalo WZR-450HP2
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43026
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
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/upgrade/platform.sh1
3 files changed, 6 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 fdbca5166b..743f9de124 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
@@ -46,7 +46,8 @@ ap136-010)
ap136-020 |\
ap135-020 |\
-tl-wr1043nd-v2)
+tl-wr1043nd-v2 |\
+wzr-450hp2)
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 378a619d89..40e930360c 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -716,6 +716,9 @@ ar71xx_board_detect() {
*WRT400N)
name="wrt400n"
;;
+ *"WZR-450HP2")
+ name="wzr-450hp2"
+ ;;
*"WZR-HP-AG300H/WZR-600DHP")
name="wzr-hp-ag300h"
;;
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index b8b2fa9980..6220f16a7e 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -200,6 +200,7 @@ platform_check_image() {
wzr-hp-g300nh | \
wzr-hp-g450h | \
wzr-hp-ag300h | \
+ wzr-450hp2 | \
whr-g301n | \
whr-hp-g300n | \
whr-hp-gn | \