e1000: unprogrammed i210 operation hack
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>
Fri, 10 Oct 2014 23:50:38 +0000 (01:50 +0200)
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>
Wed, 15 Apr 2015 11:40:44 +0000 (13:40 +0200)
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)

drivers/net/e1000.c

index cd4422215fb0fbbd43c4aefb09e0f0652df01867..535b1f021e2e891847776f77c16031826bac5821 100644 (file)
@@ -4381,7 +4381,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;
        }