|
@@ -11434,7 +11434,7 @@ static int i40e_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
|
|
|
i40e_nvm_version_str(hw));
|
|
i40e_nvm_version_str(hw));
|
|
|
|
|
|
|
|
if (hw->aq.api_maj_ver == I40E_FW_API_VERSION_MAJOR &&
|
|
if (hw->aq.api_maj_ver == I40E_FW_API_VERSION_MAJOR &&
|
|
|
- hw->aq.api_min_ver > I40E_FW_API_VERSION_MINOR)
|
|
|
|
|
|
|
+ hw->aq.api_min_ver > I40E_FW_MINOR_VERSION(hw))
|
|
|
dev_info(&pdev->dev,
|
|
dev_info(&pdev->dev,
|
|
|
"The driver for the device detected a newer version of the NVM image than expected. Please install the most recent version of the network driver.\n");
|
|
"The driver for the device detected a newer version of the NVM image than expected. Please install the most recent version of the network driver.\n");
|
|
|
else if (hw->aq.api_maj_ver == 1 && hw->aq.api_min_ver < 4)
|
|
else if (hw->aq.api_maj_ver == 1 && hw->aq.api_min_ver < 4)
|