From f6ba1d4f8c058ad3e8bf63cbea901b148c3bfee3 Mon Sep 17 00:00:00 2001 From: juhosg Date: Sun, 19 Feb 2012 16:44:49 +0000 Subject: 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30645 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ramips/base-files/etc/diag.sh | 3 +++ target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom | 1 + target/linux/ramips/base-files/etc/uci-defaults/leds | 3 +++ target/linux/ramips/base-files/etc/uci-defaults/network | 2 ++ 4 files changed, 9 insertions(+) (limited to 'target/linux/ramips/base-files/etc') 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) -- cgit v1.2.3