projects
/
openwrt
/
staging
/
hauke.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eda1545
)
mpc85xx: correct WS-AP3715i eth LED assignment
author
David Bauer
<
[email protected]
>
Wed, 20 Sep 2023 18:59:35 +0000
(20:59 +0200)
committer
David Bauer
<
[email protected]
>
Wed, 20 Sep 2023 23:11:11 +0000
(
01:11
+0200)
Ethernet LED assignments were incorrectly swapped. Fix the assignment
logic so the correct LED is illuminated for the LAN LEDs.
Signed-off-by: David Bauer <
[email protected]
>
(cherry picked from commit
80374177449ab7fadcf7c9cd9693cc0e92feba8d
)
target/linux/mpc85xx/base-files/etc/board.d/01_leds
patch
|
blob
|
history
diff --git
a/target/linux/mpc85xx/base-files/etc/board.d/01_leds
b/target/linux/mpc85xx/base-files/etc/board.d/01_leds
index d9b4d2d79d32b93f3b9df2ac2b84624da9fc66ae..7e1d379efe4d515cf3327ee0449b6f04f4831d94 100644
(file)
--- a/
target/linux/mpc85xx/base-files/etc/board.d/01_leds
+++ b/
target/linux/mpc85xx/base-files/etc/board.d/01_leds
@@
-8,7
+8,10
@@
boardname="${board##*,}"
board_config_update
case $board in
-enterasys,ws-ap3715i|\
+enterasys,ws-ap3715i)
+ ucidef_set_led_netdev "lan1" "LAN1" "green:lan1" "eth0"
+ ucidef_set_led_netdev "lan2" "LAN2" "green:lan2" "eth1"
+ ;;
extreme-networks,ws-ap3825i)
ucidef_set_led_netdev "lan1" "LAN1" "green:lan1" "eth1"
ucidef_set_led_netdev "lan2" "LAN2" "green:lan2" "eth0"