ixgbe: add link check for X550 copper
authorDon Skidmore <donald.c.skidmore@intel.com>
Wed, 10 Jun 2015 00:44:58 +0000 (17:44 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 10 Jun 2015 00:44:58 +0000 (17:44 -0700)
commita4e293a5bfaf18a94c3421f3a424939ce3524ccd
treeb015b5848ed96ddaaafb86f48e167e1b29b79984
parentdeda562a18552b083f19de2bb894b853ca790d73
ixgbe: add link check for X550 copper

This patch adds ixgbe_check_link_t_X550em for checking copper PHY
link.  We check that both the MAC and external PHY have link. This
is to avoid a false link up between the internal and external PHY
when  the external PHY doesn't have link.

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>
drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c