aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files
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
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')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/diag.sh2
-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/02_network2
-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
6 files changed, 9 insertions, 1 deletions
diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh
index dbde1f7775..866003c28c 100755
--- a/target/linux/ramips/base-files/etc/diag.sh
+++ b/target/linux/ramips/base-files/etc/diag.sh
@@ -9,7 +9,7 @@ get_status_led() {
3g-6200n)
status_led="edimax:green:power"
;;
- 3g300m)
+ 3g300m | w150m)
status_led="tenda:blue:ap"
;;
argus-atp52b)
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 6dd36d7403..b6490b5b58 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
@@ -85,6 +85,7 @@ case "$FIRMWARE" in
v11st-fe | \
v22rw-2x2 | \
w306r-v20 | \
+ w150m | \
w502u | \
wcr-150gn | \
whr-g300n | \
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 d2400870c6..98aefbdf32 100755
--- a/target/linux/ramips/base-files/etc/uci-defaults/02_network
+++ b/target/linux/ramips/base-files/etc/uci-defaults/02_network
@@ -38,6 +38,7 @@ ramips_setup_interfaces()
case $board in
3g300m | \
+ w150m | \
all0256n | \
all5002 | \
broadway)
@@ -156,6 +157,7 @@ ramips_setup_macs()
;;
3g-6200n | \
3g300m | \
+ w150m | \
air3gii | \
argus-atp52b | \
bc2 | \
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 | \