diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-02-19 16:44:49 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-02-19 16:44:49 +0000 |
commit | 3489515a7eb66c6489c3aeefda06e132532f5811 (patch) | |
tree | d66b1b0d6f66ba151dcba9646d9a8ac97008cd56 /target/linux/ramips/base-files/lib | |
parent | 413caddc3408102b368fc8cb969c85de018ca912 (diff) | |
download | upstream-3489515a7eb66c6489c3aeefda06e132532f5811.tar.gz upstream-3489515a7eb66c6489c3aeefda06e132532f5811.tar.bz2 upstream-3489515a7eb66c6489c3aeefda06e132532f5811.zip |
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>
SVN-Revision: 30645
Diffstat (limited to 'target/linux/ramips/base-files/lib')
-rw-r--r-- | target/linux/ramips/base-files/lib/preinit/06_set_iface_mac | 3 | ||||
-rwxr-xr-x | target/linux/ramips/base-files/lib/ramips.sh | 3 | ||||
-rwxr-xr-x | target/linux/ramips/base-files/lib/upgrade/platform.sh | 1 |
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 | \ |