summaryrefslogtreecommitdiff
path: root/recipes-kernel/linux/linux-toradex-mainline-4.14/0020-apalis-t30-tk1-mainline-igb-avoid-nvm-checksum-failu.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-kernel/linux/linux-toradex-mainline-4.14/0020-apalis-t30-tk1-mainline-igb-avoid-nvm-checksum-failu.patch')
-rw-r--r--recipes-kernel/linux/linux-toradex-mainline-4.14/0020-apalis-t30-tk1-mainline-igb-avoid-nvm-checksum-failu.patch36
1 files changed, 0 insertions, 36 deletions
diff --git a/recipes-kernel/linux/linux-toradex-mainline-4.14/0020-apalis-t30-tk1-mainline-igb-avoid-nvm-checksum-failu.patch b/recipes-kernel/linux/linux-toradex-mainline-4.14/0020-apalis-t30-tk1-mainline-igb-avoid-nvm-checksum-failu.patch
deleted file mode 100644
index e29e0ac..0000000
--- a/recipes-kernel/linux/linux-toradex-mainline-4.14/0020-apalis-t30-tk1-mainline-igb-avoid-nvm-checksum-failu.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-From 860eb2cc7b67c4173186c677259ac3c95ed80cab Mon Sep 17 00:00:00 2001
-Message-Id: <860eb2cc7b67c4173186c677259ac3c95ed80cab.1531317141.git.marcel.ziswiler@toradex.com>
-In-Reply-To: <6654e1bd342708a683daf47e7558455f709a3e7e.1531317141.git.marcel.ziswiler@toradex.com>
-References: <6654e1bd342708a683daf47e7558455f709a3e7e.1531317141.git.marcel.ziswiler@toradex.com>
-From: Marcel Ziswiler <marcel.ziswiler@toradex.com>
-Date: Tue, 12 Jun 2018 09:47:30 +0200
-Subject: [PATCH 20/33] apalis-t30/tk1-mainline: igb: avoid nvm checksum
- failure
-
-This avoids the following error in case the iNVM of the i210/i211 is not
-yet programmed (e.g. due to using one of them early Apalis T30 samples
-or a factory pristine module as in the FCT case):
-
-The NVM Checksum Is Not Valid
-
-Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
----
- drivers/net/ethernet/intel/igb/igb_main.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/drivers/net/ethernet/intel/igb/igb_main.c b/drivers/net/ethernet/intel/igb/igb_main.c
-index e9d6a8742826..66f78b27ed53 100644
---- a/drivers/net/ethernet/intel/igb/igb_main.c
-+++ b/drivers/net/ethernet/intel/igb/igb_main.c
-@@ -2533,7 +2533,7 @@ static int igb_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
- case e1000_i210:
- case e1000_i211:
- if (igb_get_flash_presence_i210(hw)) {
-- if (hw->nvm.ops.validate(hw) < 0) {
-+ if ((hw->nvm.ops.validate(hw) < 0) && !g_usr_mac) {
- dev_err(&pdev->dev,
- "The NVM Checksum Is Not Valid\n");
- err = -EIO;
---
-2.14.4
-