From: John Crispin Date: Tue, 22 Apr 2014 08:08:35 +0000 (+0000) Subject: ramips: add Airlink101 AR725W userland support X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=cb91087991985254caf8cd33c19ded18cc5627d3;p=openwrt%2Fstaging%2Fdedeckeh.git ramips: add Airlink101 AR725W userland support Signed-off-by: Claudio Leite SVN-Revision: 40550 --- 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 | \