mirror of
https://github.com/torvalds/linux.git
synced 2026-04-21 16:23:59 -04:00
ixgbe: Add support to retrieve and store LED link active
This patch adds support to get the LED link active via the LEDCTL register. If the LEDCTL register does not have LED link active (LED mode field = 0x0100) set then default LED link active returned. Signed-off-by: Don Skidmore <donald.c.skidmore@intel.com> Tested-by: Krishneil Singh <krishneil.k.singh@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
This commit is contained in:
committed by
Jeff Kirsher
parent
0c1b7de4f3
commit
805cedd663
@@ -1179,6 +1179,7 @@ static const struct ixgbe_mac_operations mac_ops_82598 = {
|
||||
.get_link_capabilities = &ixgbe_get_link_capabilities_82598,
|
||||
.led_on = &ixgbe_led_on_generic,
|
||||
.led_off = &ixgbe_led_off_generic,
|
||||
.init_led_link_act = ixgbe_init_led_link_act_generic,
|
||||
.blink_led_start = &ixgbe_blink_led_start_generic,
|
||||
.blink_led_stop = &ixgbe_blink_led_stop_generic,
|
||||
.set_rar = &ixgbe_set_rar_generic,
|
||||
|
||||
Reference in New Issue
Block a user