aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2014-11-14 16:55:04 +0000
committerJohn Crispin <blogic@openwrt.org>2014-11-14 16:55:04 +0000
commit36c0a5446242e14030a4de3ffb240620b8c93837 (patch)
tree1d24c6baf14656b0cdaab93f06301631dc0279b4 /target
parent3af38b7f027073338040b83d53ed71873cb804fc (diff)
downloadupstream-36c0a5446242e14030a4de3ffb240620b8c93837.tar.gz
upstream-36c0a5446242e14030a4de3ffb240620b8c93837.tar.bz2
upstream-36c0a5446242e14030a4de3ffb240620b8c93837.zip
ar71xx: add user-space support for OpenMesh MR900v2
Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43266 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/diag.sh3
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/01_leds3
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/02_network1
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh3
4 files changed, 8 insertions, 2 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index 3c001a0d0c..2bb3304f32 100755
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -103,7 +103,8 @@ get_status_led() {
mr600v2)
status_led="mr600:blue:power"
;;
- mr900)
+ mr900 | \
+ mr900v2)
status_led="mr900:blue:power"
;;
mynet-n600 | \
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
index 9685ff076a..7255970622 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
@@ -152,7 +152,8 @@ mr600)
ucidef_set_led_wlan "wlan58" "WLAN58" "mr600:green:wlan58" "phy0tpt"
;;
-mr900)
+mr900 | \
+mr900v2)
ucidef_set_led_netdev "lan" "LAN" "mr900:blue:wan" "eth0"
ucidef_set_led_wlan "wlan24" "WLAN24" "mr900:blue:wlan24" "phy0tpt"
ucidef_set_led_wlan "wlan58" "WLAN58" "mr900:blue:wlan58" "phy1tpt"
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
index dfe7161205..a269c1f330 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
@@ -292,6 +292,7 @@ loco-m-xw |\
mr600 |\
mr600v2 |\
mr900 |\
+mr900v2 |\
rb-411 |\
rb-911g-2hpnd |\
rb-911g-5hpnd |\
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index 7aca600d19..0f22618522 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -395,6 +395,9 @@ ar71xx_board_detect() {
*MR900)
name="mr900"
;;
+ *MR900v2)
+ name="mr900v2"
+ ;;
*"My Net N600")
name="mynet-n600"
;;