OSDN Git Service

ixgbe: Accept SFP not present errors on all devices
authorMark Rustad <mark.d.rustad@intel.com>
Sat, 8 Aug 2015 23:17:46 +0000 (16:17 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 22 Sep 2015 22:58:29 +0000 (15:58 -0700)
commit29a8dca1997f880563e53e9ba0fcb50b03bd23af
treef5e00154a9f8f742a5c4706f1592f12a9fbee3a1
parent0f90300f4fd30968a4d40fe47a9043be9912cb31
ixgbe: Accept SFP not present errors on all devices

When an SFP not present error is returned by the reset_hw method,
accept it and go on, since an SFP can still be inserted. Previously
it was only accepted for 82598 devices.

Signed-off-by: Mark Rustad <mark.d.rustad@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c