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>

SVN-Revision: 35245
owl
Gabor Juhos 2013-01-19 17:05:06 +00:00
parent 7eff5d2df0
commit 9891603eb5
7 changed files with 14 additions and 0 deletions

View File

@ -33,6 +33,9 @@ get_status_led() {
3g-6200n) 3g-6200n)
status_led="edimax:green:power" status_led="edimax:green:power"
;; ;;
3g300m)
status_led="tenda:blue:ap"
;;
argus-atp52b) argus-atp52b)
status_led="argus-atp52b:green:run" status_led="argus-atp52b:green:run"
;; ;;

View File

@ -52,6 +52,7 @@ case "$FIRMWARE" in
;; ;;
3g-6200n | \ 3g-6200n | \
3g300m | \
air3gii | \ air3gii | \
all0239-3g | \ all0239-3g | \
all0256n | \ all0256n | \

View File

@ -18,6 +18,9 @@ case $board in
set_wifi_led "edimax:amber:wlan" set_wifi_led "edimax:amber:wlan"
set_usb_led "edimax:blue:3g" set_usb_led "edimax:blue:3g"
;; ;;
3g300m)
set_usb_led "tenda:blue:3g"
;;
air3gii) air3gii)
set_wifi_led "airlive:green:wlan" set_wifi_led "airlive:green:wlan"
set_usb_led "airlive:green:mobile" set_usb_led "airlive:green:mobile"

View File

@ -42,6 +42,7 @@ ramips_setup_interfaces()
ucidef_set_interface_loopback ucidef_set_interface_loopback
case $board in case $board in
3g300m | \
all0256n | \ all0256n | \
all5002 | \ all5002 | \
broadway) broadway)
@ -148,6 +149,7 @@ ramips_setup_macs()
lan_mac=$(ramips_get_mac_binary factory 40) lan_mac=$(ramips_get_mac_binary factory 40)
;; ;;
3g-6200n | \ 3g-6200n | \
3g300m | \
air3gii | \ air3gii | \
argus-atp52b | \ argus-atp52b | \
bc2 | \ bc2 | \

View File

@ -9,6 +9,7 @@ preinit_set_mac_address() {
case $(ramips_board_name) in case $(ramips_board_name) in
3g-6200n |\ 3g-6200n |\
3g300m | \
mzk-w300nh2 |\ mzk-w300nh2 |\
wl-330n |\ wl-330n |\
wl-330n3g) wl-330n3g)

View File

@ -182,6 +182,9 @@ ramips_board_name() {
*"Sitecom WL-351 v1 002") *"Sitecom WL-351 v1 002")
name="wl-351" name="wl-351"
;; ;;
*"Tenda 3G300M")
name="3g300m"
;;
*"Tenda W306R V2.0") *"Tenda W306R V2.0")
name="w306r-v20" name="w306r-v20"
;; ;;

View File

@ -15,6 +15,7 @@ platform_check_image() {
case "$board" in case "$board" in
3g-6200n | \ 3g-6200n | \
3g300m | \
air3gii | \ air3gii | \
all0239-3g | \ all0239-3g | \
all0256n | \ all0256n | \