diff options
author | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-05-08 17:03:42 +0000 |
---|---|---|
committer | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-05-08 17:03:42 +0000 |
commit | 30670ef06132d454e7323cec7a3bcd3c2d64303a (patch) | |
tree | eaebfb14bd8a783dbce3dda68d230b4b56355083 /target/linux | |
parent | ba362f8845d0ccba99af34fc21652e6736c72816 (diff) |
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36579 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
5 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh index 708e2c555..ed269b275 100755 --- a/target/linux/ar71xx/base-files/etc/diag.sh +++ b/target/linux/ar71xx/base-files/etc/diag.sh @@ -159,6 +159,9 @@ get_status_led() { wzr-hp-g300nh2) status_led="buffalo:red:diag" ;; + wndap360) + status_led="wndap360:green:power" + ;; wndr3700) status_led="wndr3700:green:power" ;; 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 afeae4210..6e3e37092 100755 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds @@ -200,6 +200,10 @@ wrt160nl) ucidef_set_led_wlan "wlan" "WLAN" "wrt160nl:blue:wlan" "phy0tpt" ;; +wndap360) + ucidef_set_led_power "power" "POWER GREEN" "wndap360:green:power" "1" + ;; + wndr3700) ucidef_set_led_default "wan" "WAN LED (green)" "wndr3700:green:wan" "0" ucidef_set_led_usbdev "usb" "USB" "wndr3700: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 ca58a39ca..a9a3ff2e9 100755 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network @@ -200,6 +200,7 @@ tl-mr3040 |\ tl-wa901nd |\ tl-wa901nd-v2 |\ tl-wr703n |\ +wndap360 |\ wp543) ucidef_set_interface_lan "eth0" ;; diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index b7056f2ce..900c9ad1c 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -453,6 +453,9 @@ ar71xx_board_detect() { *WPE72) name="wpe72" ;; + *WNDAP360) + name="wndap360" + ;; *"WNDR3700/WNDR3800/WNDRMAC") wndr3700_board_detect "$machine" ;; diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh index 85e9d6128..817123b6d 100755 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh @@ -122,6 +122,7 @@ platform_check_image() { nanostation-m | \ rocket-m | \ rw2458n | \ + wndap360 | \ wzr-hp-g300nh2 | \ wzr-hp-g300nh | \ wzr-hp-g450h | \ |