ar71xx: add user-space support for Netgear WNDAP360

[juhosg: this has been created from the following patch:
http://patchwork.openwrt.org/patch/3620/ ]

Signed-off-by: Jacek Kikiewicz <jaceq@aol.pl>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36579
This commit is contained in:
Gabor Juhos 2013-05-08 17:03:42 +00:00
parent 10b3ca5ccb
commit 33a2cbfd5c
5 changed files with 12 additions and 0 deletions

View File

@ -159,6 +159,9 @@ get_status_led() {
wzr-hp-g300nh2) wzr-hp-g300nh2)
status_led="buffalo:red:diag" status_led="buffalo:red:diag"
;; ;;
wndap360)
status_led="wndap360:green:power"
;;
wndr3700) wndr3700)
status_led="wndr3700:green:power" status_led="wndr3700:green:power"
;; ;;

View File

@ -200,6 +200,10 @@ wrt160nl)
ucidef_set_led_wlan "wlan" "WLAN" "wrt160nl:blue:wlan" "phy0tpt" ucidef_set_led_wlan "wlan" "WLAN" "wrt160nl:blue:wlan" "phy0tpt"
;; ;;
wndap360)
ucidef_set_led_power "power" "POWER GREEN" "wndap360:green:power" "1"
;;
wndr3700) wndr3700)
ucidef_set_led_default "wan" "WAN LED (green)" "wndr3700:green:wan" "0" ucidef_set_led_default "wan" "WAN LED (green)" "wndr3700:green:wan" "0"
ucidef_set_led_usbdev "usb" "USB" "wndr3700:green:usb" "1-1" ucidef_set_led_usbdev "usb" "USB" "wndr3700:green:usb" "1-1"

View File

@ -200,6 +200,7 @@ tl-mr3040 |\
tl-wa901nd |\ tl-wa901nd |\
tl-wa901nd-v2 |\ tl-wa901nd-v2 |\
tl-wr703n |\ tl-wr703n |\
wndap360 |\
wp543) wp543)
ucidef_set_interface_lan "eth0" ucidef_set_interface_lan "eth0"
;; ;;

View File

@ -453,6 +453,9 @@ ar71xx_board_detect() {
*WPE72) *WPE72)
name="wpe72" name="wpe72"
;; ;;
*WNDAP360)
name="wndap360"
;;
*"WNDR3700/WNDR3800/WNDRMAC") *"WNDR3700/WNDR3800/WNDRMAC")
wndr3700_board_detect "$machine" wndr3700_board_detect "$machine"
;; ;;

View File

@ -122,6 +122,7 @@ platform_check_image() {
nanostation-m | \ nanostation-m | \
rocket-m | \ rocket-m | \
rw2458n | \ rw2458n | \
wndap360 | \
wzr-hp-g300nh2 | \ wzr-hp-g300nh2 | \
wzr-hp-g300nh | \ wzr-hp-g300nh | \
wzr-hp-g450h | \ wzr-hp-g450h | \