diff options
author | luka <luka@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-03-01 13:46:01 +0000 |
---|---|---|
committer | luka <luka@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-03-01 13:46:01 +0000 |
commit | 533bd2dc31e7506e729250f6b0e0255fc2cb617f (patch) | |
tree | 51d3725197eab78eeb7bba7a75eba81202d5a2e4 /target/linux/ar71xx/base-files/etc | |
parent | 9107a02a72d3c5066e6bf9c1062b56a02daa812e (diff) |
ar71xx: add support for Buffalo WZR 600DHP
Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35840 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/base-files/etc')
5 files changed, 9 insertions, 4 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh index adf32f12f..c863b21a8 100755 --- a/target/linux/ar71xx/base-files/etc/diag.sh +++ b/target/linux/ar71xx/base-files/etc/diag.sh @@ -152,7 +152,8 @@ get_status_led() { status_led="buffalo:green:status" ;; wzr-hp-ag300h | \ - wzr-hp-g300nh2) + wzr-hp-g300nh2 | \ + wzr-600dhp) status_led="buffalo:red:diag" ;; wndr3700) diff --git a/target/linux/ar71xx/base-files/etc/hotplug.d/net/10-ar922x-led-fix b/target/linux/ar71xx/base-files/etc/hotplug.d/net/10-ar922x-led-fix index 102415009..6a7f521af 100644 --- a/target/linux/ar71xx/base-files/etc/hotplug.d/net/10-ar922x-led-fix +++ b/target/linux/ar71xx/base-files/etc/hotplug.d/net/10-ar922x-led-fix @@ -42,7 +42,8 @@ if [ $phyname -a $ACTION = "add" ]; then . /lib/ar71xx.sh case $(ar71xx_board_name) in - wzr-hp-ag300h) + wzr-hp-ag300h|\ + wzr-600dhp) ar922x_disable_gpio_jtag $phyname ;; esac; diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds index 392439385..3e54d64d0 100755 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds @@ -212,7 +212,8 @@ wlae-ag300n) ucidef_set_led_netdev "wireless" "WIRELESS" "buffalo:green:wireless" "wlan0" ;; -wzr-hp-ag300h) +wzr-hp-ag300h | \ +wzr-600dhp) ucidef_set_led_default "diag" "DIAG" "buffalo:red:diag" "0" ucidef_set_led_netdev "router" "ROUTER" "buffalo:green:router" "eth1" ucidef_set_led_usbdev "usb" "USB" "buffalo:green:usb" "1-1" 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 b1f84da60..15a1d39ac 100755 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network @@ -233,7 +233,8 @@ tl-wr841n-v7 |\ whr-g301n |\ whr-hp-g300n |\ whr-hp-gn |\ -wzr-hp-ag300h) +wzr-hp-ag300h |\ +wzr-600dhp) ucidef_set_interfaces_lan_wan "eth0" "eth1" 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/etc/uci-defaults/03_network-switchX-migration b/target/linux/ar71xx/base-files/etc/uci-defaults/03_network-switchX-migration index 718a924f1..8757b21a8 100755 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/03_network-switchX-migration +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/03_network-switchX-migration @@ -75,6 +75,7 @@ whr-hp-g300n|\ whr-hp-gn|\ wzr-hp-ag300h|\ wzr-hp-g450h|\ +wzr-600dhp|\ ew-dorin|\ ew-dorin-router) migrate_switch_name "eth0" "switch0" |