Emil Tantilov a4b6fc6bc6 ixgbe: fix SFF data dumps of SFP+ modules
This patch fixes several issues with the previous implementation of the
SFF data dump of SFP+ modules:

- removed the __IXGBE_READ_I2C flag - I2C access locking is handled in the
  HW specific routines

- fixed the read loop to read data from ee->offset to ee->len

- the reads fail if __IXGBE_IN_SFP_INIT is set in the process - this is
  needed because on some HW I2C operations can take long time and disrupt
  the SFP and link detection process

Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Reported-by: Ben Hutchings <bhutchings@solarflare.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2013-07-30 17:56:04 -07:00
..
2013-06-24 12:43:40 -07:00
2013-07-29 23:38:52 -07:00
2013-07-22 16:50:31 -07:00
2013-06-18 13:48:45 +02:00
2013-07-25 01:31:52 -07:00
2013-07-10 17:43:12 -07:00
2013-05-02 16:20:31 -04:00
2013-06-25 16:34:32 -07:00
2013-06-24 12:43:40 -07:00