From 02bf24ad4a7c882e25771f656b973d5458695cf0 Mon Sep 17 00:00:00 2001 From: Marcel Ziswiler Date: Sat, 11 Oct 2014 01:50:38 +0200 Subject: e1000: i210/i211 hack Hack driver to avoid the following error for now e1000: e1000#0: ERROR: Hardware Initialization Failed --- drivers/net/e1000.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/net/e1000.c b/drivers/net/e1000.c index ce19173223..3c9115cfd6 100644 --- a/drivers/net/e1000.c +++ b/drivers/net/e1000.c @@ -1128,7 +1128,9 @@ e1000_swfw_sync_acquire(struct e1000_hw *hw, uint16_t mask) if (!timeout) { DEBUGOUT("Driver can't access resource, SW_FW_SYNC timeout.\n"); - return -E1000_ERR_SWFW_SYNC; +//hack to avoid the following error for now +//e1000: e1000#0: ERROR: Hardware Initialization Failed +// return -E1000_ERR_SWFW_SYNC; } swfw_sync |= swmask; @@ -4378,7 +4380,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 for now +//e1000: e1000#0: ERROR: Hardware Initialization Failed +// return -E1000_ERR_RESET; } break; } -- cgit v1.2.3