summaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/etc
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-07-12 13:29:46 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-07-12 13:29:46 +0000
commit533fe2fa9ffc57afdab424c18a01e87b74b09428 (patch)
tree1f36504c6c0cc83dd46217e2fe76f15f95f81ed7 /target/linux/ramips/base-files/etc
parent7f1dc18d4bedbf4f5411dc1efeb055881012d1f1 (diff)
ramips: rt305x: add support for Edimax 3G-6200N
Support for Edimax 3G-6200N router with USB. Signed-off-by: Lukasz Golebiowski <lgolebio@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32682 3c298f89-4303-0410-b956-a3cf2f4a3e73
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/leds4
-rwxr-xr-xtarget/linux/ramips/base-files/etc/uci-defaults/network3
4 files changed, 10 insertions, 1 deletions
diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh
index 95e504f1d..68aa0ee86 100755
--- a/target/linux/ramips/base-files/etc/diag.sh
+++ b/target/linux/ramips/base-files/etc/diag.sh
@@ -30,6 +30,9 @@ status_led_off() {
get_status_led() {
case $(ramips_board_name) in
+ 3g-6200n)
+ status_led="edimax:green:power"
+ ;;
argus-atp52b)
status_led="argus-atp52b:green:run"
;;
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 c5d0d6978..d7542cab4 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
@@ -48,6 +48,7 @@ case "$FIRMWARE" in
rt2x00_eeprom_extract "u-boot" 262144 272
;;
+ 3g-6200n | \
all0256n | \
argus-atp52b | \
bc2 | \
diff --git a/target/linux/ramips/base-files/etc/uci-defaults/leds b/target/linux/ramips/base-files/etc/uci-defaults/leds
index fdfce39e8..fbbd09d9e 100755
--- a/target/linux/ramips/base-files/etc/uci-defaults/leds
+++ b/target/linux/ramips/base-files/etc/uci-defaults/leds
@@ -14,6 +14,10 @@ set_wifi_led() {
board=$(ramips_board_name)
case $board in
+ 3g-6200n)
+ set_wifi_led "edimax:amber:wlan"
+ set_usb_led "edimax:blue:3g"
+ ;;
all0256n)
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 cc3f21215..1c65b65a7 100755
--- a/target/linux/ramips/base-files/etc/uci-defaults/network
+++ b/target/linux/ramips/base-files/etc/uci-defaults/network
@@ -21,6 +21,7 @@ ramips_setup_interfaces()
ucidef_set_interface_lan "eth0.1"
;;
+ 3g-6200n | \
argus-atp52b | \
b2c | \
nw718 | \
@@ -89,7 +90,7 @@ ramips_setup_macs()
all0256n)
lan_mac=$(ramips_get_mac_binary factory 40)
;;
-
+ 3g-6200n | \
argus-atp52b | \
b2c | \
f5d8235-v1 | \