aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/etc
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2013-07-27 09:23:52 +0000
committerJohn Crispin <blogic@openwrt.org>2013-07-27 09:23:52 +0000
commit8b30c849c33bf3399af86cfc8f2baa4760ca9910 (patch)
tree38936f80cfac46c539e1934634ee05c3d0762315 /target/linux/ramips/base-files/etc
parent42558633c693550436d7d471fbd7ea543e79ab37 (diff)
downloadupstream-8b30c849c33bf3399af86cfc8f2baa4760ca9910.tar.gz
upstream-8b30c849c33bf3399af86cfc8f2baa4760ca9910.tar.bz2
upstream-8b30c849c33bf3399af86cfc8f2baa4760ca9910.zip
ramips: add MPR-A1 support
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37568 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/01_leds3
-rwxr-xr-xtarget/linux/ramips/base-files/etc/uci-defaults/02_network1
4 files changed, 8 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh
index cc426b74c6..f8e97875aa 100755
--- a/target/linux/ramips/base-files/etc/diag.sh
+++ b/target/linux/ramips/base-files/etc/diag.sh
@@ -55,6 +55,9 @@ get_status_led() {
mofi3500-3gn)
status_led="mofi3500-3gn:green:status"
;;
+ mpr-a1)
+ status_led="mpr-a1:red:power"
+ ;;
mpr-a2)
status_led="mpr-a2:red:power"
;;
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 b3ca002d09..9e9e09be3d 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
@@ -78,6 +78,7 @@ case "$FIRMWARE" in
freestation5 | \
hw550-3g | \
mofi3500-3gn | \
+ mpr-a1 | \
mpr-a2 | \
pwh2004 | \
nbg-419n | \
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 036d311d9b..7f69231da9 100755
--- a/target/linux/ramips/base-files/etc/uci-defaults/01_leds
+++ b/target/linux/ramips/base-files/etc/uci-defaults/01_leds
@@ -94,6 +94,9 @@ case $board in
mofi3500-3gn)
set_usb_led "mofi3500-3gn:green:usb"
;;
+ mpr-a1)
+ set_wifi_led "mpr-a1:blue:system"
+ ;;
mpr-a2)
set_wifi_led "mpr-a2:blue:system"
;;
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 2d833b31a6..6877588a45 100755
--- a/target/linux/ramips/base-files/etc/uci-defaults/02_network
+++ b/target/linux/ramips/base-files/etc/uci-defaults/02_network
@@ -173,6 +173,7 @@ ramips_setup_macs()
broadway | \
dir-620-d1 | \
f5d8235-v1 | \
+ mpr-a1 | \
mpr-a2 | \
mzk-w300nh2 | \
nw718 | \