From 33a2cbfd5c03f9b7c7c41ee21eb16db214d0ed43 Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Wed, 8 May 2013 17:03:42 +0000 Subject: 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 Signed-off-by: Gabor Juhos SVN-Revision: 36579 --- target/linux/ar71xx/base-files/etc/diag.sh | 3 +++ target/linux/ar71xx/base-files/etc/uci-defaults/01_leds | 4 ++++ target/linux/ar71xx/base-files/etc/uci-defaults/02_network | 1 + 3 files changed, 8 insertions(+) (limited to 'target/linux/ar71xx/base-files/etc') diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh index 708e2c5554..ed269b275a 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 afeae42103..6e3e37092a 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 ca58a39ca7..a9a3ff2e9b 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" ;; -- cgit v1.2.3