aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-12-29 17:50:32 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-12-29 17:50:32 +0000
commit6d33750ae7bfa13590429391f68dfbf076e77a67 (patch)
tree9ad7a932f4d8abeb1373cfaefcf4443ff2ebc6ff /target
parentfe3c9a045fa09bd417583b956b908fd876ecccee (diff)
downloadupstream-6d33750ae7bfa13590429391f68dfbf076e77a67.tar.gz
upstream-6d33750ae7bfa13590429391f68dfbf076e77a67.tar.bz2
upstream-6d33750ae7bfa13590429391f68dfbf076e77a67.zip
ramips: add user-space support for Airlive AIR3GII
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/2913/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34923 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r--target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom1
-rwxr-xr-xtarget/linux/ramips/base-files/etc/uci-defaults/leds4
-rwxr-xr-xtarget/linux/ramips/base-files/etc/uci-defaults/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, 10 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom b/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
index 5989f791da..1a04e5af65 100644
--- a/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
+++ b/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
@@ -52,6 +52,7 @@ case "$FIRMWARE" in
;;
3g-6200n | \
+ air3gii | \
all0239-3g | \
all0256n | \
all5002 | \
diff --git a/target/linux/ramips/base-files/etc/uci-defaults/leds b/target/linux/ramips/base-files/etc/uci-defaults/leds
index e444db7ceb..a37901743d 100755
--- a/target/linux/ramips/base-files/etc/uci-defaults/leds
+++ b/target/linux/ramips/base-files/etc/uci-defaults/leds
@@ -18,6 +18,10 @@ case $board in
set_wifi_led "edimax:amber:wlan"
set_usb_led "edimax:blue:3g"
;;
+ air3gii)
+ set_wifi_led "airlive:green:wlan"
+ set_usb_led "airlive:green:mobile"
+ ;;
all0256n)
ucidef_set_rssimon "wlan0" "40000" "1"
ucidef_set_led_rssi "rssilow" "RSSILOW" "all0256n:green:rssilow" "wlan0" "1" "40" "0" "6"
diff --git a/target/linux/ramips/base-files/etc/uci-defaults/network b/target/linux/ramips/base-files/etc/uci-defaults/network
index dadb95bcb8..5ab89e9d97 100755
--- a/target/linux/ramips/base-files/etc/uci-defaults/network
+++ b/target/linux/ramips/base-files/etc/uci-defaults/network
@@ -140,6 +140,7 @@ ramips_setup_macs()
lan_mac=$(ramips_get_mac_binary factory 40)
;;
3g-6200n | \
+ air3gii | \
argus-atp52b | \
bc2 | \
broadway | \
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index 2d8a7e65d2..42fcb646ce 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -53,6 +53,9 @@ ramips_board_name() {
*"Edimax 3g-6200n")
name="3g-6200n"
;;
+ *"AirLive Air3GII")
+ name="air3gii"
+ ;;
*"Allnet ALL0239-3G")
name="all0239-3g"
;;
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index 2ec4749f9f..d1ccf7eac1 100755
--- a/target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh
@@ -15,6 +15,7 @@ platform_check_image() {
case "$board" in
3g-6200n | \
+ air3gii | \
all0239-3g | \
all0256n | \
all5002 | \