aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/etc
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2011-12-14 20:54:10 +0000
committerGabor Juhos <juhosg@openwrt.org>2011-12-14 20:54:10 +0000
commitb9c5cb5c9a4736b6342e98e7af13f52f20438f27 (patch)
tree2d2749b8aca76cfce06251644217dd5ff62486c6 /target/linux/ar71xx/base-files/etc
parent66c8cc0f6db70625de5da0f5d62b9771af014deb (diff)
downloadupstream-b9c5cb5c9a4736b6342e98e7af13f52f20438f27.tar.gz
upstream-b9c5cb5c9a4736b6342e98e7af13f52f20438f27.tar.bz2
upstream-b9c5cb5c9a4736b6342e98e7af13f52f20438f27.zip
ar71xx: add support for ALFA Network's Hornet-UB board
SVN-Revision: 29535
Diffstat (limited to 'target/linux/ar71xx/base-files/etc')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/diag.sh3
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/leds7
2 files changed, 10 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index 3af66b7e34..c0aadbc453 100755
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -60,6 +60,9 @@ get_status_led() {
eap7660d)
status_led="eap7660d:green:ds4"
;;
+ hornet-ub)
+ status_led="alfa:blue:wps"
+ ;;
ja76pf)
status_led="ja76pf:green:led1"
;;
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/leds b/target/linux/ar71xx/base-files/etc/uci-defaults/leds
index a0779effd8..88538f84f2 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/leds
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/leds
@@ -91,6 +91,13 @@ dir-825-b1)
set_led_usbdev "usb" "USB" "dir825b1:blue:usb" "1-1"
;;
+hornet-ub)
+ set_led_netdev "lan" "LAN" "alfa:blue:lan" "eth0"
+ set_led_netdev "wan" "WAN" "alfa:blue:wan" "eth1"
+ set_led_wlan "wlan" "WLAN" "alfa:blue:wlan" "phy0tpt"
+ set_led_usbdev "usb" "USB" "alfa:blue:usb" "1-1"
+ ;;
+
mzk-w04u)
set_led_usbdev "usb" "USB" "planex:green:usb" "1-1"
;;