summaryrefslogtreecommitdiff
path: root/target/linux/ramips/base-files/lib
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-02-19 16:44:49 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-02-19 16:44:49 +0000
commitf6ba1d4f8c058ad3e8bf63cbea901b148c3bfee3 (patch)
treea8268ed5303c51478f75580749e820f26f477234 /target/linux/ramips/base-files/lib
parent2029a65c6e434aa89c4f531359a95c32510c4fbf (diff)
ramips: rt305x: add support for the Skyline SL-R7205 Wireless 3G router
[juhosg: - don't switch back to 2.6.39 - update config-3.2 - change machine id to SL-R7205 - reorder case entries in platform scripts - remove button hotplug script] Signed-off-by: Haipoh Teoh <hpteoh@ceedtec.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30645 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/base-files/lib')
-rw-r--r--target/linux/ramips/base-files/lib/preinit/06_set_iface_mac3
-rwxr-xr-xtarget/linux/ramips/base-files/lib/ramips.sh3
-rwxr-xr-xtarget/linux/ramips/base-files/lib/upgrade/platform.sh1
3 files changed, 6 insertions, 1 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 9f5c02446c..66eb6b98a4 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,9 +9,10 @@ preinit_set_mac_address() {
case $(ramips_board_name) in
bc2 |\
+ esr-9753 |\
nw718 |\
rt-n56u |\
- esr-9753)
+ sl-r7205)
mac=$(ramips_get_mac_binary factory 4)
mac=$(maccalc or "$mac" "02:00:00:00:00:00")
ifconfig eth0 hw ether $mac 2>/dev/null
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index 07bdf16051..728f525d68 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -104,6 +104,9 @@ ramips_board_name() {
*"RT-N56U")
name="rt-n56u"
;;
+ *"Skyline SL-R7205"*)
+ name="sl-r7205"
+ ;;
*"Sparklan WCR-150GN")
name="wcr-150gn"
;;
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index 2bcfa4b821..a2f351353c 100755
--- a/target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh
@@ -29,6 +29,7 @@ platform_check_image() {
rt-g32-b1 | \
rt-n15 | \
rt-n56u | \
+ sl-r7205 | \
w502u |\
wr6202 |\
v22rw-2x2 | \