aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/lib
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2013-04-03 10:00:21 +0000
committerJohn Crispin <john@openwrt.org>2013-04-03 10:00:21 +0000
commit93899a1329f66ffa7550a75b8af3bb40e6a3c67a (patch)
treeb535e309eb20e9ac3c337a532882ef959730a91d /target/linux/ramips/base-files/lib
parent7e54357bd585f644b686755eda5a94264ea5b218 (diff)
downloadupstream-93899a1329f66ffa7550a75b8af3bb40e6a3c67a.tar.gz
upstream-93899a1329f66ffa7550a75b8af3bb40e6a3c67a.tar.bz2
upstream-93899a1329f66ffa7550a75b8af3bb40e6a3c67a.zip
add profile for tenda w150m board
http://patchwork.openwrt.org/patch/3371/ Signed-off-by: Chi Zhang <zhangchi866@gmail.com> SVN-Revision: 36176
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 985d1bc8f7..7824e2b252 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
@@ -12,6 +12,7 @@ preinit_set_mac_address() {
3g-6200n |\
3g-6200nl |\
3g300m | \
+ w150m | \
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 4948e5b5cc..c89dd469a7 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -180,6 +180,9 @@ ramips_board_detect() {
*"Tenda W306R V2.0")
name="w306r-v20"
;;
+ *"Tenda W150M")
+ name="w150m"
+ ;;
*"TEW-691GR")
name="tew-691gr"
;;
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index e2a55feabb..34d2c54c84 100755
--- a/target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh
@@ -17,6 +17,7 @@ platform_check_image() {
3g-6200n | \
3g-6200nl | \
3g300m | \
+ w150m | \
air3gii | \
all0239-3g | \
all0256n | \