aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-02-02 17:01:50 +0000
committerGabor Juhos <juhosg@openwrt.org>2013-02-02 17:01:50 +0000
commitb99b2ff55380e7cbf538e0d35b41e4030ee202e4 (patch)
treecb45428a0e05d7619fc78c0615f71d8a0cfab25b /target/linux/ramips/base-files
parent0a42e38bad10f41d7effb430716d3a4851a90fd1 (diff)
downloadupstream-b99b2ff55380e7cbf538e0d35b41e4030ee202e4.tar.gz
upstream-b99b2ff55380e7cbf538e0d35b41e4030ee202e4.tar.bz2
upstream-b99b2ff55380e7cbf538e0d35b41e4030ee202e4.zip
ramips: add userspace support for the Edimax BR-6425
[juhosg: remove sysupgrade changes] Signed-off-by: Yuval Adam <yuv.adm@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35463
Diffstat (limited to 'target/linux/ramips/base-files')
-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/01_leds3
-rwxr-xr-xtarget/linux/ramips/base-files/etc/uci-defaults/02_network1
-rwxr-xr-xtarget/linux/ramips/base-files/lib/ramips.sh3
5 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh
index ff5818c20c..8702a2defb 100755
--- a/target/linux/ramips/base-files/etc/diag.sh
+++ b/target/linux/ramips/base-files/etc/diag.sh
@@ -42,6 +42,9 @@ get_status_led() {
br6524n)
status_led="edimax:blue:power"
;;
+ br6425)
+ status_led="edimax:green:power"
+ ;;
dir-300-b1 | dir-600-b1 | dir-600-b2 | dir-615-h1 | dir-615-d | dir-620-a1)
status_led="d-link: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 61d79b9405..9ff58f1b8b 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
@@ -59,6 +59,7 @@ case "$FIRMWARE" in
all5002 | \
argus-atp52b | \
bc2 | \
+ br6425 | \
broadway | \
br6524n | \
carambola | \
diff --git a/target/linux/ramips/base-files/etc/uci-defaults/01_leds b/target/linux/ramips/base-files/etc/uci-defaults/01_leds
index 516f3cc505..f582e5cddf 100755
--- a/target/linux/ramips/base-files/etc/uci-defaults/01_leds
+++ b/target/linux/ramips/base-files/etc/uci-defaults/01_leds
@@ -35,6 +35,9 @@ case $board in
bc2)
set_usb_led "bc2:blue:usb"
;;
+ br6425)
+ set_wifi_led "edimax:orange:wlan"
+ ;;
broadway)
set_usb_led "red:diskmounted"
set_wifi_led "red:wps_active"
diff --git a/target/linux/ramips/base-files/etc/uci-defaults/02_network b/target/linux/ramips/base-files/etc/uci-defaults/02_network
index b9c88e352f..cc5b8c2be2 100755
--- a/target/linux/ramips/base-files/etc/uci-defaults/02_network
+++ b/target/linux/ramips/base-files/etc/uci-defaults/02_network
@@ -154,6 +154,7 @@ ramips_setup_macs()
air3gii | \
argus-atp52b | \
bc2 | \
+ br6425 | \
broadway | \
f5d8235-v1 | \
mzk-w300nh2 | \
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index 83dcc0e485..3f06da3693 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -56,6 +56,9 @@ ramips_board_name() {
*"AirLive Air3GII")
name="air3gii"
;;
+ *"Edimax BR-6425")
+ name="br6425"
+ ;;
*"Allnet ALL0239-3G")
name="all0239-3g"
;;