projects
/
openwrt
/
staging
/
florian.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17a1e18
)
ar71xx: add user-space support for the OpenMesh OM5P-AN
author
John Crispin
<
[email protected]
>
Tue, 17 Mar 2015 09:43:31 +0000
(09:43 +0000)
committer
John Crispin
<
[email protected]
>
Tue, 17 Mar 2015 09:43:31 +0000
(09:43 +0000)
Signed-off-by: Sven Eckelmann <
[email protected]
>
SVN-Revision: 44862
target/linux/ar71xx/base-files/etc/diag.sh
patch
|
blob
|
history
target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
patch
|
blob
|
history
target/linux/ar71xx/base-files/lib/ar71xx.sh
patch
|
blob
|
history
diff --git
a/target/linux/ar71xx/base-files/etc/diag.sh
b/target/linux/ar71xx/base-files/etc/diag.sh
index 56f956072f714e862f6190176c1e22c8aa2f1ce6..59acc714a1b561fc1506db6f0a1d6f8dfadaa94d 100644
(file)
--- a/
target/linux/ar71xx/base-files/etc/diag.sh
+++ b/
target/linux/ar71xx/base-files/etc/diag.sh
@@
-142,7
+142,8
@@
get_status_led() {
om2p-lc)
status_led="om2p:blue:power"
;;
- om5p)
+ om5p | \
+ om5p-an)
status_led="om5p:blue:power"
;;
pb44)
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 d4cc617b998d8ff32f8ec42e94a0d73b5282c84f..e18c2bc78b0acd12655967f174bd2b9f87290faa 100644
(file)
--- a/
target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
+++ b/
target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
@@
-233,7
+233,8
@@
om2p-lc)
ucidef_set_led_netdev "port2" "port2" "om2p:blue:lan" "eth1"
;;
-om5p)
+om5p | \
+om5p-an)
ucidef_set_led_netdev "port1" "port1" "om5p:blue:wan" "eth0"
ucidef_set_led_netdev "port2" "port2" "om5p:blue:lan" "eth1"
;;
diff --git
a/target/linux/ar71xx/base-files/lib/ar71xx.sh
b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index 04fb716c424c631a2af0d456db922aa806bd2f09..d2fe6efeb3ee7c276186edef4b701a11ec8ed6bb 100755
(executable)
--- a/
target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/
target/linux/ar71xx/base-files/lib/ar71xx.sh
@@
-512,6
+512,9
@@
ar71xx_board_detect() {
*OM5P)
name="om5p"
;;
+ *"OM5P AN")
+ name="om5p-an"
+ ;;
*PB42)
name="pb42"
;;