aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-11-25 16:16:15 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-11-25 16:16:15 +0000
commit7a9d4b16462f34a196e4cbab8b545ed165927dab (patch)
tree78089e602989d57faf956e692511215c2cc70d33 /target/linux
parentc7dbe30bf13e1d107e888c5eee3e24262eb56fc1 (diff)
downloadopenwrt-7a9d4b16462f34a196e4cbab8b545ed165927dab.tar.gz
openwrt-7a9d4b16462f34a196e4cbab8b545ed165927dab.zip
AA: ar71xx: add user-space support for the OpenMesh MR600 board
Backport of r34232. Signed-off-by: Marek Lindner <lindner_marek@yahoo.de> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34346 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/diag.sh3
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/leds6
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/network1
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh3
4 files changed, 13 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index 788b628a7..416322dd7 100755
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -83,6 +83,9 @@ get_status_led() {
ls-sr71)
status_led="ubnt:green:d22"
;;
+ mr600)
+ status_led="mr600:orange:power"
+ ;;
mzk-w04nu | \
mzk-w300nh)
status_led="planex:green:status"
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/leds b/target/linux/ar71xx/base-files/etc/uci-defaults/leds
index 4137f9874..7be4ce9a9 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/leds
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/leds
@@ -71,6 +71,12 @@ hornet-ub)
ucidef_set_led_usbdev "usb" "USB" "alfa:blue:usb" "1-1"
;;
+mr600)
+ ucidef_set_led_netdev "port1" "port1" "mr600:blue:lan" "eth0"
+ ucidef_set_led_wlan "wlan58" "WLAN58" "mr600:green:wlan58" "phy0tpt"
+ ucidef_set_led_wlan "wlan24" "WLAN24" "mr600:green:wlan24" "phy1tpt"
+ ;;
+
mzk-w04u)
ucidef_set_led_usbdev "usb" "USB" "planex:green:usb" "1-1"
;;
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/network b/target/linux/ar71xx/base-files/etc/uci-defaults/network
index 810f0849b..377f0b35a 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/network
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/network
@@ -145,6 +145,7 @@ aw-nr580 |\
bullet-m |\
cap4200ag |\
eap7660d |\
+mr600 |\
rb-411 |\
tl-mr11u |\
tl-mr3020 |\
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index 2f5d6e7ec..22eae9458 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -228,6 +228,9 @@ ar71xx_board_detect() {
*LS-SR71)
name="ls-sr71"
;;
+ *MR600)
+ name="mr600"
+ ;;
*MZK-W04NU)
name="mzk-w04nu"
;;