]> 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)
commit5015de164e380a3462134e15bae797e5528483e2
tree39a89b3131f321286469f6af82700f97658ac8a6
parentdb86235da3de65639394fbd3860d836454b69cd2
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