aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/lib
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-06-19 09:52:15 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-06-19 09:52:15 +0000
commit833b4af81602e0afc302060972038dfbbc993708 (patch)
treebbb31daf1c76fa49712b20bbebac879681244d60 /target/linux/ramips/base-files/lib
parent431e612d9e885471a4cf28288b1673d290e0c782 (diff)
downloadupstream-833b4af81602e0afc302060972038dfbbc993708.tar.gz
upstream-833b4af81602e0afc302060972038dfbbc993708.tar.bz2
upstream-833b4af81602e0afc302060972038dfbbc993708.zip
ramips: rt305x: add support for the Petatel PSR-680W Wireless CDMA Router
This patch adds support for the Korean made Petatel PSR-680W Wireless CDMA Router. The platform is based on Ralink RT3052. http://wiki.openwrt.org/toh/petatel/psr-680w Signed-off-by: Dmitry Shmygov <shmygov at rambler.ru> SVN-Revision: 32450
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 b02dfab813..69d1b8cb20 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() {
esr-9753 |\
freestation5 |\
nw718 |\
+ psr-680w |\
rt-n56u |\
sl-r7205)
mac=$(ramips_get_mac_binary factory 4)
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index 486d137298..a5a173436e 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -101,6 +101,9 @@ ramips_board_name() {
*"Omnima MiniEMBWiFi")
name="omni-emb"
;;
+ *"Petatel PSR-680W"*)
+ name="psr-680w"
+ ;;
*"PWH2004")
name="pwh2004"
;;
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index 229cbe5435..1292b83e79 100755
--- a/target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh
@@ -27,6 +27,7 @@ platform_check_image() {
nbg-419n | \
nw718 | \
omni-emb | \
+ psr-680w | \
rt-g32-b1 | \
rt-n10-plus | \
rt-n15 | \