summaryrefslogtreecommitdiff
path: root/target/linux/ramips/base-files/etc
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-01-19 17:05:06 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-01-19 17:05:06 +0000
commit86d2c52f52c503c83ae88078fa21da5e2fa061c0 (patch)
tree7c6b78ef94abc98f63918d8e3116f4b1edc84bc1 /target/linux/ramips/base-files/etc
parentf8570663966e0e305b1c217ad5b652342a734c93 (diff)
ramips: add user-space support for the Tenda 3G300M
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35245 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/base-files/etc')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/diag.sh3
-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/01_leds3
-rwxr-xr-xtarget/linux/ramips/base-files/etc/uci-defaults/02_network2
4 files changed, 9 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh
index d8b913fca3..ff5818c20c 100755
--- a/target/linux/ramips/base-files/etc/diag.sh
+++ b/target/linux/ramips/base-files/etc/diag.sh
@@ -33,6 +33,9 @@ get_status_led() {
3g-6200n)
status_led="edimax:green:power"
;;
+ 3g300m)
+ status_led="tenda:blue:ap"
+ ;;
argus-atp52b)
status_led="argus-atp52b:green:run"
;;
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 6bd2c922c8..61d79b9405 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 | \
+ 3g300m | \
air3gii | \
all0239-3g | \
all0256n | \
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 fa9c4f0ab4..516f3cc505 100755
--- a/target/linux/ramips/base-files/etc/uci-defaults/01_leds
+++ b/target/linux/ramips/base-files/etc/uci-defaults/01_leds
@@ -18,6 +18,9 @@ case $board in
set_wifi_led "edimax:amber:wlan"
set_usb_led "edimax:blue:3g"
;;
+ 3g300m)
+ set_usb_led "tenda:blue:3g"
+ ;;
air3gii)
set_wifi_led "airlive:green:wlan"
set_usb_led "airlive:green:mobile"
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 bbcdf6fde7..a8e5ef9d7c 100755
--- a/target/linux/ramips/base-files/etc/uci-defaults/02_network
+++ b/target/linux/ramips/base-files/etc/uci-defaults/02_network
@@ -42,6 +42,7 @@ ramips_setup_interfaces()
ucidef_set_interface_loopback
case $board in
+ 3g300m | \
all0256n | \
all5002 | \
broadway)
@@ -148,6 +149,7 @@ ramips_setup_macs()
lan_mac=$(ramips_get_mac_binary factory 40)
;;
3g-6200n | \
+ 3g300m | \
air3gii | \
argus-atp52b | \
bc2 | \