summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ixgbe/ixgbe_x540.c
diff options
context:
space:
mode:
authorDon Skidmore <donald.c.skidmore@intel.com>2016-10-20 21:42:00 -0400
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2016-11-04 17:03:46 -0700
commit805cedd663549bfc74dbbc5dca73810df0589396 (patch)
tree1278d9c61324980f03ff9158558c51a1c6b11a2e /drivers/net/ethernet/intel/ixgbe/ixgbe_x540.c
parent0c1b7de4f33f64665c45a15980a02582740034ff (diff)
downloadtalos-obmc-linux-805cedd663549bfc74dbbc5dca73810df0589396.tar.gz
talos-obmc-linux-805cedd663549bfc74dbbc5dca73810df0589396.zip
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>
Diffstat (limited to 'drivers/net/ethernet/intel/ixgbe/ixgbe_x540.c')
-rw-r--r--drivers/net/ethernet/intel/ixgbe/ixgbe_x540.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_x540.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_x540.c
index f2b1d48a16c3..5bf1d49c39d7 100644
--- a/drivers/net/ethernet/intel/ixgbe/ixgbe_x540.c
+++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_x540.c
@@ -851,6 +851,7 @@ static const struct ixgbe_mac_operations mac_ops_X540 = {
.get_link_capabilities = &ixgbe_get_copper_link_capabilities_generic,
.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_X540,
.blink_led_stop = &ixgbe_blink_led_stop_X540,
.set_rar = &ixgbe_set_rar_generic,
OpenPOWER on IntegriCloud