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)
commitaac9e053f1044bf21ac068eeb0e8518d080f4a66
treed214308730f99b1da8b31890a14a712895e610c3
parentfdb359ee445f83400bad762d54b2964b39d42d10
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