OSDN Git Service

ixgbe: fix issue with SFP events with new X550 devices
authorDon Skidmore <donald.c.skidmore@intel.com>
Wed, 2 Sep 2015 20:47:54 +0000 (13:47 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 16 Sep 2015 00:02:53 +0000 (17:02 -0700)
commit4ccc650cc845476885f73660b2e6335852f0f75c
tree3972c9f1f304356ef9eec8c9d671f7ad6591ad68
parentad1e7b97b3adb91d46f3adb70a7867a50fc274cf
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.
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>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c