ixgbe: fix issue with sfp events with new X550 devices
authorDon Skidmore <donald.c.skidmore@intel.com>
Tue, 9 Jun 2015 23:59:04 +0000 (16:59 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 10 Jun 2015 00:24:33 +0000 (17:24 -0700)
commit45788d2af9280e7d80dc51b51c0d7641d3ae6998
tree39a89b3131f321286469f6af82700f97658ac8a6
parent597f22d6aa46105d69648a5c042d1fabe182c6f6
ixgbe: fix issue with sfp events with new X550 devices

Add checks for systems that don't have SFP's to avoid incorrectly
acting on interrupts that are falsely interpreted as SFP events.
We do this by updating the ixgbe_is_sfp to be aware of the
new X550 devices.  This also includes a modified check generating
the EICR mask to be more forward-looking.

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_main.c