diff options
author | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2014-10-11 01:50:38 +0200 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2014-10-11 01:50:38 +0200 |
commit | 02bf24ad4a7c882e25771f656b973d5458695cf0 (patch) | |
tree | 6960e3c2d9aaebdd8051784efe0bf92a7d9ee530 | |
parent | 055fabc5604b373322026f5b43599e06c7f81ff5 (diff) |
e1000: i210/i211 hack
Hack driver to avoid the following error for now
e1000: e1000#0: ERROR: Hardware Initialization Failed
-rw-r--r-- | drivers/net/e1000.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/net/e1000.c b/drivers/net/e1000.c index ce19173223a..3c9115cfd6d 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; } |