From b99b2ff55380e7cbf538e0d35b41e4030ee202e4 Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Sat, 2 Feb 2013 17:01:50 +0000 Subject: [PATCH] ramips: add userspace support for the Edimax BR-6425 [juhosg: remove sysupgrade changes] Signed-off-by: Yuval Adam Signed-off-by: Gabor Juhos SVN-Revision: 35463 --- target/linux/ramips/base-files/etc/diag.sh | 3 +++ .../ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom | 1 + target/linux/ramips/base-files/etc/uci-defaults/01_leds | 3 +++ target/linux/ramips/base-files/etc/uci-defaults/02_network | 1 + target/linux/ramips/base-files/lib/ramips.sh | 3 +++ 5 files changed, 11 insertions(+) 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" ;; -- 2.30.2