diff options
author | blogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-04-03 10:00:21 +0000 |
---|---|---|
committer | blogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-04-03 10:00:21 +0000 |
commit | 8d7aa0846cb129365246b428583e0edb99d160d7 (patch) | |
tree | dfd53de254a8fec6b632fab45f91dd591f545388 /target/linux/ramips/base-files | |
parent | 1ee7540ab7a93de859122b9ffef0b6b4f7017aa6 (diff) |
[ramips] add profile for tenda w150m board
http://patchwork.openwrt.org/patch/3371/
Signed-off-by: Chi Zhang <zhangchi866@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36176 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/base-files')
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 | \ |