]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0163f65b76e94d92a10333fc4bb9234f2183dc83
tree39a89b3131f321286469f6af82700f97658ac8a6
parent65b3ea02bfaaaae2dc38e9a971fcbfef01a5e59d
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