From 61e3a73a7df91490d2757740d9e4982e0619ceef Mon Sep 17 00:00:00 2001 From: Marcel Ziswiler Date: Sat, 11 Oct 2014 01:50:38 +0200 Subject: 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) --- drivers/net/e1000.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; } -- cgit v1.2.3