projects
/
openwrt
/
staging
/
jogo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1b5045
)
ar71xx: add user-space support for the OpenMesh OM2Pv4/-HSv4
author
Sven Eckelmann
<
[email protected]
>
Thu, 2 Jun 2016 09:25:00 +0000
(11:25 +0200)
committer
John Crispin
<
[email protected]
>
Tue, 14 Feb 2017 11:18:04 +0000
(12:18 +0100)
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/board.d/02_network
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 b1ecb0204f1575face438e854954bc5eda087981..b0aa7c2b24eac0b6c0c1f53e98143fb730dae9fa 100755
(executable)
--- a/
target/linux/ar71xx/base-files/etc/board.d/01_leds
+++ b/
target/linux/ar71xx/base-files/etc/board.d/01_leds
@@
-405,9
+405,11
@@
nbg6716)
;;
om2p|\
om2pv2|\
+om2pv4|\
om2p-hs|\
om2p-hsv2|\
om2p-hsv3|\
+om2p-hsv4|\
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/board.d/02_network
b/target/linux/ar71xx/base-files/etc/board.d/02_network
index f01e1bb61acd9021ec01ec4a6e6944eb3123f8c7..0687b292089069a90023301fe00a9865693ebc55 100755
(executable)
--- a/
target/linux/ar71xx/base-files/etc/board.d/02_network
+++ b/
target/linux/ar71xx/base-files/etc/board.d/02_network
@@
-128,6
+128,8
@@
ar71xx_setup_interfaces()
gl-inet|\
gl-mifi|\
jwap003|\
+ om2pv4|\
+ om2p-hsv4|\
pb42|\
pb44|\
rb-951ui-2hnd|\
diff --git
a/target/linux/ar71xx/base-files/etc/diag.sh
b/target/linux/ar71xx/base-files/etc/diag.sh
index edcf621b76283973e324d5a41eaa1709bbb667f3..17b324d65ee6c2d851df4bf3dfb4da644070e35f 100644
(file)
--- a/
target/linux/ar71xx/base-files/etc/diag.sh
+++ b/
target/linux/ar71xx/base-files/etc/diag.sh
@@
-242,9
+242,11
@@
get_status_led() {
;;
om2p|\
om2pv2|\
+ om2pv4|\
om2p-hs|\
om2p-hsv2|\
om2p-hsv3|\
+ om2p-hsv4|\
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 3ca2c0d63352f2834501bef059b184a834f60e20..f090b041d06e8ab8e634556ef6c12ab2b6eac623 100755
(executable)
--- a/
target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/
target/linux/ar71xx/base-files/lib/ar71xx.sh
@@
-742,6
+742,9
@@
ar71xx_board_detect() {
*OM2Pv2)
name="om2pv2"
;;
+ *OM2Pv4)
+ name="om2pv4"
+ ;;
*"OM2P HS")
name="om2p-hs"
;;
@@
-751,6
+754,9
@@
ar71xx_board_detect() {
*"OM2P HSv3")
name="om2p-hsv3"
;;
+ *"OM2P HSv4")
+ name="om2p-hsv4"
+ ;;
*"OM2P LC")
name="om2p-lc"
;;