aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-04-22 08:08:35 +0000
committerJohn Crispin <john@openwrt.org>2014-04-22 08:08:35 +0000
commitcb91087991985254caf8cd33c19ded18cc5627d3 (patch)
treed72b2abcf6f1acc12a93c01954bbcdc97e7ae92e /target
parent2b2d274bfa2fc7138423acbf2dbb53d665b1bf18 (diff)
downloadupstream-cb91087991985254caf8cd33c19ded18cc5627d3.tar.gz
upstream-cb91087991985254caf8cd33c19ded18cc5627d3.tar.bz2
upstream-cb91087991985254caf8cd33c19ded18cc5627d3.zip
ramips: add Airlink101 AR725W userland support
Signed-off-by: Claudio Leite <leitec@staticky.com> SVN-Revision: 40550
Diffstat (limited to 'target')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/diag.sh3
-rwxr-xr-xtarget/linux/ramips/base-files/etc/uci-defaults/01_leds3
-rwxr-xr-xtarget/linux/ramips/base-files/etc/uci-defaults/02_network1
-rwxr-xr-xtarget/linux/ramips/base-files/lib/ramips.sh3
-rwxr-xr-xtarget/linux/ramips/base-files/lib/upgrade/platform.sh1
5 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh
index 4168d0a2bd..122587232f 100755
--- a/target/linux/ramips/base-files/etc/diag.sh
+++ b/target/linux/ramips/base-files/etc/diag.sh
@@ -12,6 +12,9 @@ get_status_led() {
3g300m | w150m)
status_led="tenda:blue:ap"
;;
+ ar725w)
+ status_led="ar725w:green:power"
+ ;;
argus-atp52b)
status_led="argus-atp52b:green:run"
;;
diff --git a/target/linux/ramips/base-files/etc/uci-defaults/01_leds b/target/linux/ramips/base-files/etc/uci-defaults/01_leds
index 567835e6b1..17d8c97719 100755
--- a/target/linux/ramips/base-files/etc/uci-defaults/01_leds
+++ b/target/linux/ramips/base-files/etc/uci-defaults/01_leds
@@ -35,6 +35,9 @@ case $board in
ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "all0256n:green:rssihigh" "wlan0" "70" "100" "-69" "8"
set_wifi_led "rt2800pci-phy0::radio"
;;
+ ar725w)
+ set_wifi_led "rt2800soc-phy0::radio"
+ ;;
asl26555)
ucidef_set_led_default "power" "POWER" "asl26555:green:power" "1"
ucidef_set_led_netdev "eth" "ETH" "asl26555:green:eth" "eth0"
diff --git a/target/linux/ramips/base-files/etc/uci-defaults/02_network b/target/linux/ramips/base-files/etc/uci-defaults/02_network
index 1cbf7bf022..b66d176ec0 100755
--- a/target/linux/ramips/base-files/etc/uci-defaults/02_network
+++ b/target/linux/ramips/base-files/etc/uci-defaults/02_network
@@ -116,6 +116,7 @@ ramips_setup_interfaces()
ucidef_add_switch_vlan "switch0" "2" "0 5t"
;;
+ ar725w | \
rt-n15 | \
wl-351)
ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index a3a26cb23e..913e65cb90 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -22,6 +22,9 @@ ramips_board_detect() {
*"Edimax 3g-6200nl")
name="3g-6200nl"
;;
+ *"Airlink101 AR725W")
+ name="ar725w"
+ ;;
*"AirLive Air3GII")
name="air3gii"
;;
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index 8ff6063f19..616516bf5f 100755
--- a/target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh
@@ -23,6 +23,7 @@ platform_check_image() {
all0256n | \
all5002 | \
all5003 | \
+ ar725w | \
asl26555 | \
awm002-evb | \
bc2 | \