AA: ar71xx: add user-space support for the OpenMesh MR600 board
authorGabor Juhos <juhosg@openwrt.org>
Sun, 25 Nov 2012 16:16:15 +0000 (16:16 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Sun, 25 Nov 2012 16:16:15 +0000 (16:16 +0000)
Backport of r34232.

Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34346

target/linux/ar71xx/base-files/etc/diag.sh
target/linux/ar71xx/base-files/etc/uci-defaults/leds
target/linux/ar71xx/base-files/etc/uci-defaults/network
target/linux/ar71xx/base-files/lib/ar71xx.sh

index 788b628a7658cd39985118e423bc49a7570b3a6a..416322dd7c51e8954064ad2333fa72836a06e3a6 100755 (executable)
@@ -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"
index 4137f987455ac8605039514db9e641a682efc859..7be4ce9a910a28b1c2d932cdc6f7a5ef05eaa33c 100755 (executable)
@@ -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"
        ;;
index 810f0849bfb6926dd1bfc6ccedcfafdcf4da5f9b..377f0b35a5005150a36e768b6371b641624a32b6 100755 (executable)
@@ -145,6 +145,7 @@ aw-nr580 |\
 bullet-m |\
 cap4200ag |\
 eap7660d |\
+mr600 |\
 rb-411 |\
 tl-mr11u |\
 tl-mr3020 |\
index 2f5d6e7ec7bea0fb0e2b865887d28cada05ae588..22eae9458b3a9cb8cb1b432ed61ea28ade45c9bc 100755 (executable)
@@ -228,6 +228,9 @@ ar71xx_board_detect() {
        *LS-SR71)
                name="ls-sr71"
                ;;
+       *MR600)
+               name="mr600"
+               ;;
        *MZK-W04NU)
                name="mzk-w04nu"
                ;;