Ver Fonte

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 <[email protected]>
David Bauer há 2 anos atrás
pai
commit
8037417744
1 ficheiros alterados com 4 adições e 1 exclusões
  1. 4 1
      target/linux/mpc85xx/base-files/etc/board.d/01_leds

+ 4 - 1
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"