diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2014-07-14 21:30:28 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2014-07-14 21:30:28 +0000 |
commit | 63a0695d5a5dde12498e803248a922b5cf8bc39d (patch) | |
tree | a656665db55c214ba6f5eb158eb9a961609e31df /target | |
parent | 1b7feb924a73a2878a81c3b4804275f209ac07a7 (diff) | |
download | upstream-63a0695d5a5dde12498e803248a922b5cf8bc39d.tar.gz upstream-63a0695d5a5dde12498e803248a922b5cf8bc39d.tar.bz2 upstream-63a0695d5a5dde12498e803248a922b5cf8bc39d.zip |
ar71xx: add user-space support for the EnGenius EAP300 v2 board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41659 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
5 files changed, 14 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh index 174684d0ae..69590027d8 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 ccfc846af4..b1477ae070 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 8dd04d4ef4..481d458071 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 |\ diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index 94f758a809..23cee9acb7 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -313,6 +313,9 @@ ar71xx_board_detect() { *"Dragino v2") name="dragino2" ;; + *"EAP300 v2") + name="eap300v2" + ;; *EAP7660D) name="eap7660d" ;; diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh index 910da52bb7..fe627ab4f4 100755 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh @@ -353,6 +353,7 @@ platform_check_image() { pb42 | \ pb44 | \ all0305 | \ + eap300v2 | \ eap7660d | \ ja76pf | \ ja76pf2 | \ @@ -407,6 +408,7 @@ platform_do_upgrade() { all0315n ) platform_do_upgrade_allnet "0x9f080000" "$ARGV" ;; + eap300v2 |\ cap4200ag) platform_do_upgrade_allnet "0xbf0a0000" "$ARGV" ;; |