summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2014-10-11 01:50:38 +0200
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2017-01-11 21:27:13 +0100
commit61e3a73a7df91490d2757740d9e4982e0619ceef (patch)
treed5bdcae4517556510a2f055754cd8300bb4096da /drivers
parentff619321abe6344325b81658d2d7cfc90ceb6727 (diff)
e1000: unprogrammed i210 operation hack
Hack driver to avoid the following error for now. This is required for unprogrammed i210 operation. e1000: e1000#0: ERROR: Hardware Initialization Failed (cherry picked from commit 02bf24ad4a7c882e25771f656b973d5458695cf0) (cherry picked from commit 68cecfdbe342f800a0b1f10a1f8fb019b491f04b) (cherry picked from commit 2d8ea651b6da79047b6fa729863d25b5eb9e15d7)
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/e1000.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/e1000.c b/drivers/net/e1000.c
index 3332ad95d4..a60ffed202 100644
--- a/drivers/net/e1000.c
+++ b/drivers/net/e1000.c
@@ -4361,7 +4361,9 @@ e1000_get_phy_cfg_done(struct e1000_hw *hw)
if (!timeout) {
DEBUGOUT("MNG configuration cycle has not "
"completed.\n");
- return -E1000_ERR_RESET;
+//hack to avoid the following error on unprogrammed i210 for now
+//e1000: e1000#0: ERROR: Hardware Initialization Failed
+// return -E1000_ERR_RESET;
}
break;
}