summaryrefslogtreecommitdiff
path: root/target/linux/ramips/base-files
diff options
context:
space:
mode:
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-01-06 11:11:42 +0000
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-01-06 11:11:42 +0000
commit902a5cfce0812236e4b632fe54cddaa752fbad28 (patch)
tree3738a1d314d3341d30961145a8cd3639bcb447bd /target/linux/ramips/base-files
parent5bd71c7764edb02b06cfb2aaad4f0a3bfd412339 (diff)
[ramips] adds support for Edimax BR-6524N
fixes #12754 Signed-off-by: <rq@akl.lt> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35020 3c298f89-4303-0410-b956-a3cf2f4a3e73
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/leds3
-rwxr-xr-xtarget/linux/ramips/base-files/etc/uci-defaults/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 af05aceded..d8b913fca3 100755
--- a/target/linux/ramips/base-files/etc/diag.sh
+++ b/target/linux/ramips/base-files/etc/diag.sh
@@ -36,6 +36,9 @@ get_status_led() {
argus-atp52b)
status_led="argus-atp52b:green:run"
;;
+ br6524n)
+ status_led="edimax:blue: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 be6975c809..6bd2c922c8 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
argus-atp52b | \
bc2 | \
broadway | \
+ br6524n | \
carambola | \
dir-615-h1 | \
dir-620-a1 | \
diff --git a/target/linux/ramips/base-files/etc/uci-defaults/leds b/target/linux/ramips/base-files/etc/uci-defaults/leds
index b4dcdd1947..fa9c4f0ab4 100755
--- a/target/linux/ramips/base-files/etc/uci-defaults/leds
+++ b/target/linux/ramips/base-files/etc/uci-defaults/leds
@@ -36,6 +36,9 @@ case $board in
set_usb_led "red:diskmounted"
set_wifi_led "red:wps_active"
;;
+ br6524n)
+ set_wifi_led "edimax:blue:wlan"
+ ;;
dir-300-b1|\
dir-600-b1|\
dir-600-b2|\
diff --git a/target/linux/ramips/base-files/etc/uci-defaults/network b/target/linux/ramips/base-files/etc/uci-defaults/network
index 598074bb19..bbcdf6fde7 100755
--- a/target/linux/ramips/base-files/etc/uci-defaults/network
+++ b/target/linux/ramips/base-files/etc/uci-defaults/network
@@ -84,6 +84,7 @@ ramips_setup_interfaces()
ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
;;
+ br6524n | \
v11st-fe)
ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
ucidef_add_switch "switch0" "1" "1"
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index 0128717e35..03b49e8f31 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -71,6 +71,9 @@ ramips_board_name() {
*"Argus ATP-52B")
name="argus-atp52b"
;;
+ *"BR6524N")
+ name="br6524n"
+ ;;
*"Asus WL-330N")
name="wl-330n"
;;