projects
/
openwrt
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8010e8a
)
ar71xx: add user-space support for the OpenMesh OM2P-HSv3
author
Sven Eckelmann
<
[email protected]
>
Fri, 20 May 2016 15:53:08 +0000
(17:53 +0200)
committer
Felix Fietkau
<
[email protected]
>
Mon, 23 May 2016 10:19:23 +0000
(12:19 +0200)
Signed-off-by: Sven Eckelmann <
[email protected]
>
target/linux/ar71xx/base-files/etc/board.d/01_leds
patch
|
blob
|
history
target/linux/ar71xx/base-files/etc/diag.sh
patch
|
blob
|
history
target/linux/ar71xx/base-files/lib/ar71xx.sh
patch
|
blob
|
history
diff --git
a/target/linux/ar71xx/base-files/etc/board.d/01_leds
b/target/linux/ar71xx/base-files/etc/board.d/01_leds
index f6ea9a85013bff0099dc8155eb49a1eda5266e6c..9ac2057fb485d11bdf74f8e0b859d88bcb788b98 100755
(executable)
--- a/
target/linux/ar71xx/base-files/etc/board.d/01_leds
+++ b/
target/linux/ar71xx/base-files/etc/board.d/01_leds
@@
-383,6
+383,7
@@
om2p | \
om2pv2 | \
om2p-hs | \
om2p-hsv2 | \
+om2p-hsv3 | \
om2p-lc)
ucidef_set_led_netdev "port1" "port1" "om2p:blue:wan" "eth0"
ucidef_set_led_netdev "port2" "port2" "om2p:blue:lan" "eth1"
diff --git
a/target/linux/ar71xx/base-files/etc/diag.sh
b/target/linux/ar71xx/base-files/etc/diag.sh
index 5e6d305593da344264f65ac0b74ef6cb24b0b52c..10e6eae72617f167c9de9bebe27201f2568148a7 100644
(file)
--- a/
target/linux/ar71xx/base-files/etc/diag.sh
+++ b/
target/linux/ar71xx/base-files/etc/diag.sh
@@
-207,6
+207,7
@@
get_status_led() {
om2pv2 | \
om2p-hs | \
om2p-hsv2 | \
+ om2p-hsv3 | \
om2p-lc)
status_led="om2p:blue:power"
;;
diff --git
a/target/linux/ar71xx/base-files/lib/ar71xx.sh
b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index eb87dd4ecb8e9cedbd3421013bcf9f039e8453e0..5b5c805540b016bd424e2af65cd514f4953c0ea2 100755
(executable)
--- a/
target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/
target/linux/ar71xx/base-files/lib/ar71xx.sh
@@
-640,6
+640,9
@@
ar71xx_board_detect() {
*"OM2P HSv2")
name="om2p-hsv2"
;;
+ *"OM2P HSv3")
+ name="om2p-hsv3"
+ ;;
*"OM2P LC")
name="om2p-lc"
;;