igb: Updates to read nvm function for i211 device
authorCarolyn Wyborny <carolyn.wyborny@intel.com>
Thu, 11 Oct 2012 02:15:45 +0000 (02:15 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 1 Dec 2012 10:41:39 +0000 (02:41 -0800)
commit1720ee3e4054eff175743820ceba16ecfe97943a
tree95348eb5ffc20846aa6bd5cc65087e404ba332f1
parent3288d735781f8873775e5d2e5d33507119f79cca
igb: Updates to read nvm function for i211 device

The i211 has an integrated secure space to store configuration information that is
usually stored in an EEPROM or flash type device. This patch updates the
read functions to return values or appropriate error codes to prevent
unnecessary init failures on some configuration schemes.

Signed-off-by: Carolyn Wyborny <carolyn.wyborny@intel.com>
Tested-by: Jeff Pieper <jeffrey.e.pieper@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/igb/e1000_i210.c
drivers/net/ethernet/intel/igb/e1000_i210.h