aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/lib
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-01-19 17:05:06 +0000
committerGabor Juhos <juhosg@openwrt.org>2013-01-19 17:05:06 +0000
commit9891603eb571ddacfde6a3a6c3efb3cc25be0af4 (patch)
tree7196e9d067a6e76cfb09cb75f5f95c1d3dc9d3f5 /target/linux/ramips/base-files/lib
parent7eff5d2df0d21f3a54db650e7883548a59183841 (diff)
downloadupstream-9891603eb571ddacfde6a3a6c3efb3cc25be0af4.tar.gz
upstream-9891603eb571ddacfde6a3a6c3efb3cc25be0af4.tar.bz2
upstream-9891603eb571ddacfde6a3a6c3efb3cc25be0af4.zip
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
Diffstat (limited to 'target/linux/ramips/base-files/lib')
-rw-r--r--target/linux/ramips/base-files/lib/preinit/06_set_iface_mac1
-rwxr-xr-xtarget/linux/ramips/base-files/lib/ramips.sh3
-rwxr-xr-xtarget/linux/ramips/base-files/lib/upgrade/platform.sh1
3 files changed, 5 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac b/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac
index f411ab1fd0..8f9f83583f 100644
--- a/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac
+++ b/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac
@@ -9,6 +9,7 @@ preinit_set_mac_address() {
case $(ramips_board_name) in
3g-6200n |\
+ 3g300m | \
mzk-w300nh2 |\
wl-330n |\
wl-330n3g)
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index 03b49e8f31..83dcc0e485 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -182,6 +182,9 @@ ramips_board_name() {
*"Sitecom WL-351 v1 002")
name="wl-351"
;;
+ *"Tenda 3G300M")
+ name="3g300m"
+ ;;
*"Tenda W306R V2.0")
name="w306r-v20"
;;
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index 584e16410a..0ddf2df444 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 | \
+ 3g300m | \
air3gii | \
all0239-3g | \
all0256n | \