]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: Fix basic support for X722 devices
authorAnjali Singhai <anjali.singhai@intel.com>
Thu, 24 Sep 2015 22:26:32 +0000 (15:26 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 19 Oct 2015 22:27:30 +0000 (15:27 -0700)
commitcfbdb8f30dd5ae3039e571d19931d516052d3e3e
tree8a60089896405a363461f1017508b6258c2716b9
parent7cd44ef6d00fd710d17db88b04e74adaab2cfee5
i40e: Fix basic support for X722 devices

Acquire NVM, before issuing an AQ read nvm command for X722.
We need to acquire the NVM before issuing an AQ read to the NVM
otherwise we will get EBUSY from the FW. Also release when done.

This fixes the two X722 issues with respect to eeprom checksum verify
and reading NVM version info.

With this patch in place, i40e driver will provide basic support
for X722 devices.

Signed-off-by: Anjali Singhai Jain <anjali.singhai@intel.com>
Acked-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_common.c
drivers/net/ethernet/intel/i40e/i40e_nvm.c
drivers/net/ethernet/intel/i40e/i40e_type.h