aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/etc
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-02-19 16:44:49 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-02-19 16:44:49 +0000
commit3489515a7eb66c6489c3aeefda06e132532f5811 (patch)
treed66b1b0d6f66ba151dcba9646d9a8ac97008cd56 /target/linux/ramips/base-files/etc
parent413caddc3408102b368fc8cb969c85de018ca912 (diff)
downloadupstream-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/etc')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/diag.sh3
-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/leds3
-rwxr-xr-xtarget/linux/ramips/base-files/etc/uci-defaults/network2
4 files changed, 9 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh
index b167c520bd..26f0d1f0af 100755
--- a/target/linux/ramips/base-files/etc/diag.sh
+++ b/target/linux/ramips/base-files/etc/diag.sh
@@ -69,6 +69,9 @@ get_status_led() {
rt-n56u)
status_led="asus:blue:power"
;;
+ sl-r7205)
+ status_led="sl-r7205:green:status"
+ ;;
v11st-fe)
status_led="v11st-fe:green:status"
;;
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 6d90c25975..eb756a5e5f 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
@@ -60,6 +60,7 @@ case "$FIRMWARE" in
omni-emb | \
rt-n15 | \
rt-n56u | \
+ sl-r7205 | \
v11st-fe | \
v22rw-2x2 | \
w502u | \
diff --git a/target/linux/ramips/base-files/etc/uci-defaults/leds b/target/linux/ramips/base-files/etc/uci-defaults/leds
index 891a1a7b3c..d8f3c0cba6 100755
--- a/target/linux/ramips/base-files/etc/uci-defaults/leds
+++ b/target/linux/ramips/base-files/etc/uci-defaults/leds
@@ -60,6 +60,9 @@ case $board in
nw718)
set_usb_led "nw718:amber:usb"
;;
+ sl-r7205)
+ set_wifi_led "rt2800pci-phy0::radio"
+ ;;
v11st-fe)
set_wifi_led "rt2800pci-phy0::radio"
;;
diff --git a/target/linux/ramips/base-files/etc/uci-defaults/network b/target/linux/ramips/base-files/etc/uci-defaults/network
index a36341ca15..2b8c1ab254 100755
--- a/target/linux/ramips/base-files/etc/uci-defaults/network
+++ b/target/linux/ramips/base-files/etc/uci-defaults/network
@@ -23,6 +23,7 @@ ramips_setup_interfaces()
argus-atp52b | \
b2c | \
nw718 | \
+ sl-r7205 | \
w502u | \
wr6202)
ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
@@ -99,6 +100,7 @@ ramips_setup_macs()
f5d8235-v1 | \
nw718 | \
rt-n15 | \
+ sl-r7205 | \
wl-351)
lan_mac=$(ramips_get_mac_binary factory 4)
wan_mac=$(/usr/sbin/maccalc add "$lan_mac" 1)