ar71xx: add user-space support for the WNR612 v2 board
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/3876/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37576 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
9e5044e002
commit
2278ab5a41
|
@ -174,6 +174,9 @@ get_status_led() {
|
||||||
wnr2000)
|
wnr2000)
|
||||||
status_led="wnr2000:green:power"
|
status_led="wnr2000:green:power"
|
||||||
;;
|
;;
|
||||||
|
wnr612-v2)
|
||||||
|
status_led="wnr612v2:green:power"
|
||||||
|
;;
|
||||||
wp543)
|
wp543)
|
||||||
status_led="wp543:green:diag"
|
status_led="wp543:green:diag"
|
||||||
;;
|
;;
|
||||||
|
|
|
@ -168,7 +168,8 @@ tl-wr941nd)
|
||||||
|
|
||||||
tl-mr3420-v2 |\
|
tl-mr3420-v2 |\
|
||||||
tl-wr841n-v8 |\
|
tl-wr841n-v8 |\
|
||||||
wnr2000-v3)
|
wnr2000-v3 |\
|
||||||
|
wnr612-v2)
|
||||||
ucidef_set_interfaces_lan_wan "eth1" "eth0"
|
ucidef_set_interfaces_lan_wan "eth1" "eth0"
|
||||||
ucidef_add_switch "switch0" "1" "1"
|
ucidef_add_switch "switch0" "1" "1"
|
||||||
ucidef_add_switch_vlan "switch0" "1" "0 1 2 3 4"
|
ucidef_add_switch_vlan "switch0" "1" "0 1 2 3 4"
|
||||||
|
|
|
@ -501,6 +501,9 @@ ar71xx_board_detect() {
|
||||||
*WNR2000)
|
*WNR2000)
|
||||||
name="wnr2000"
|
name="wnr2000"
|
||||||
;;
|
;;
|
||||||
|
*"WNR612 V2")
|
||||||
|
name="wnr612-v2"
|
||||||
|
;;
|
||||||
*WRT160NL)
|
*WRT160NL)
|
||||||
name="wrt160nl"
|
name="wrt160nl"
|
||||||
;;
|
;;
|
||||||
|
|
|
@ -215,7 +215,8 @@ platform_check_image() {
|
||||||
}
|
}
|
||||||
return 0
|
return 0
|
||||||
;;
|
;;
|
||||||
wndr3700)
|
wndr3700 | \
|
||||||
|
wnr612-v2)
|
||||||
local hw_magic
|
local hw_magic
|
||||||
|
|
||||||
hw_magic="$(ar71xx_get_mtd_part_magic firmware)"
|
hw_magic="$(ar71xx_get_mtd_part_magic firmware)"
|
||||||
|
|
Loading…
Reference in New Issue