igb: Update NVM functions to work with i350 devices
This patch adds functions and functions pointers to accommodate differences between NVM interfaces and options for i350 devices, 82580 devices and the rest. 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>
This commit is contained in:

committed by
Jeff Kirsher

parent
09b068d457
commit
4322e561a9
@@ -1884,7 +1884,7 @@ static int __devinit igb_probe(struct pci_dev *pdev,
|
||||
hw->mac.ops.reset_hw(hw);
|
||||
|
||||
/* make sure the NVM is good */
|
||||
if (igb_validate_nvm_checksum(hw) < 0) {
|
||||
if (hw->nvm.ops.validate(hw) < 0) {
|
||||
dev_err(&pdev->dev, "The NVM Checksum Is Not Valid\n");
|
||||
err = -EIO;
|
||||
goto err_eeprom;
|
||||
|
Reference in New Issue
Block a user