summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/base-files/etc
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2014-07-14 21:30:28 +0000
committerGabor Juhos <juhosg@openwrt.org>2014-07-14 21:30:28 +0000
commit54206fb0ce47dcd5b1281af994d12339027cef2f (patch)
tree022161f70b4d38eb3b117017daf7beed4ed45426 /target/linux/ar71xx/base-files/etc
parentaff3127956867287b978077c7199bb9d328f0c9c (diff)
downloadmtk-20170518-54206fb0ce47dcd5b1281af994d12339027cef2f.zip
mtk-20170518-54206fb0ce47dcd5b1281af994d12339027cef2f.tar.gz
mtk-20170518-54206fb0ce47dcd5b1281af994d12339027cef2f.tar.bz2
ar71xx: add user-space support for the EnGenius EAP300 v2 board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 41659
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/01_leds5
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/02_network1
3 files changed, 9 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index 174684d..6959002 100755
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -62,6 +62,9 @@ get_status_led() {
dir-835-a1)
status_led="d-link:amber:power"
;;
+ eap300v2)
+ status_led="engenius:blue:power"
+ ;;
eap7660d)
status_led="eap7660d:green:ds4"
;;
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 ccfc846..b1477ae 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
@@ -62,6 +62,11 @@ db120)
ucidef_set_led_usbdev "usb" "USB" "db120:green:usb" "1-1"
;;
+eap300v2)
+ ucidef_set_led_netdev "lan" "LAN" "engenius:blue:lan" "eth0"
+ ucidef_set_led_wlan "wlan" "WLAN" "engenius:blue:wlan" "phy0tpt"
+ ;;
+
rb-750)
ucidef_set_led_default "act" "act" "rb750:green:act" "1"
ucidef_set_led_netdev "port1" "port1" "rb750:green:port1" "eth1"
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 8dd04d4..481d458 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
@@ -280,6 +280,7 @@ all0305 |\
aw-nr580 |\
bullet-m |\
cap4200ag |\
+eap300v2 |\
eap7660d |\
mr600 |\
mr600v2 |\