Просмотр исходного кода

ramips: add Airlink101 AR725W userland support

Signed-off-by: Claudio Leite <[email protected]>

SVN-Revision: 40550
John Crispin 12 лет назад
Родитель
Сommit
cb91087991

+ 3 - 0
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"
 		;;

+ 3 - 0
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"

+ 1 - 0
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"

+ 3 - 0
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"
 		;;

+ 1 - 0
target/linux/ramips/base-files/lib/upgrade/platform.sh

@@ -23,6 +23,7 @@ platform_check_image() {
 	all0256n | \
 	all5002 | \
 	all5003 | \
+	ar725w | \
 	asl26555 | \
 	awm002-evb | \
 	bc2 | \