]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: cleanup crosstalk fix
authorDon Skidmore <donald.c.skidmore@intel.com>
Tue, 19 Jul 2016 23:43:28 +0000 (19:43 -0400)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 22 Jul 2016 09:10:22 +0000 (02:10 -0700)
commite1845ad9f434d6929f0fcaf7fdb66df4a9b0d749
treed214308730f99b1da8b31890a14a712895e610c3
parent27b7928eb1d73f0cbaf68a8a3dcbba8d7bbe5dba
ixgbe: cleanup crosstalk fix

This patch address a few issues with the initial crosstalk fix.  Most
important of which is the SDP that indicates the presents of a SFP+
module changes between HW types.  With this change that is taken in
to consideration

It also moves the check closer to the base code that checks link.  This
makes it so we only need to do the check in one spot.

Signed-off-by: Don Skidmore <donald.c.skidmore@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe.h
drivers/net/ethernet/intel/ixgbe/ixgbe_common.c
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
drivers/net/ethernet/intel/ixgbe/ixgbe_type.h