forked from Ivasoft/openwrt
ar71xx: add support for Buffalo WZR 600DHP
Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 35840
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user