diff options
author | John Crispin <blogic@openwrt.org> | 2014-04-22 08:08:35 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2014-04-22 08:08:35 +0000 |
commit | 6bf0d7f058bab7f7c4d27cbf21ab9ff16a53c9fd (patch) | |
tree | 9ed1241d60b2953f07cba523b4f48d748c738094 | |
parent | e43d64217f929e8884a366c4a4f104395961e737 (diff) | |
download | master-187ad058-6bf0d7f058bab7f7c4d27cbf21ab9ff16a53c9fd.tar.gz master-187ad058-6bf0d7f058bab7f7c4d27cbf21ab9ff16a53c9fd.tar.bz2 master-187ad058-6bf0d7f058bab7f7c4d27cbf21ab9ff16a53c9fd.zip |
ramips: add Airlink101 AR725W userland support
Signed-off-by: Claudio Leite <leitec@staticky.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40550 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 | \ |