aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorDavid Bauer <mail@david-bauer.net>2023-09-20 20:59:35 +0200
committerDavid Bauer <mail@david-bauer.net>2023-09-21 01:11:11 +0200
commit43e9cded0672a857ec7df278e1de04a5c085e599 (patch)
treed4276a7a4381940bcbc55c3c764120388b783a69 /target
parenteda1545e6ea64063d7ffa0a80067679e3bef105e (diff)
downloadupstream-43e9cded0672a857ec7df278e1de04a5c085e599.tar.gz
upstream-43e9cded0672a857ec7df278e1de04a5c085e599.tar.bz2
upstream-43e9cded0672a857ec7df278e1de04a5c085e599.zip
mpc85xx: correct WS-AP3715i eth LED assignment
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 <mail@david-bauer.net> (cherry picked from commit 80374177449ab7fadcf7c9cd9693cc0e92feba8d)
Diffstat (limited to 'target')
-rw-r--r--target/linux/mpc85xx/base-files/etc/board.d/01_leds5
1 files changed, 4 insertions, 1 deletions
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 d9b4d2d79d..7e1d379efe 100644
--- 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"