From: Somnath Kotur Date: Mon, 3 Oct 2011 08:10:57 +0000 (+0000) Subject: be2net: Add 60 second delay to allow FAT dump completion on recovery from EEH X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=3ab81b5f4278342a2312e3fcafa6833e40753324;p=openwrt%2Fstaging%2Fblogic.git be2net: Add 60 second delay to allow FAT dump completion on recovery from EEH Add 60s delay before timeout on polling Bit 31 so that FAT dump can complete when reset occurs. Signed-off-by: Somnath Kotur Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/emulex/benet/be_cmds.c b/drivers/net/ethernet/emulex/benet/be_cmds.c index 4b655b854073..eb58a80aaddd 100644 --- a/drivers/net/ethernet/emulex/benet/be_cmds.c +++ b/drivers/net/ethernet/emulex/benet/be_cmds.c @@ -398,7 +398,7 @@ int be_cmd_POST(struct be_adapter *adapter) } else { return 0; } - } while (timeout < 40); + } while (timeout < 60); dev_err(dev, "POST timeout; stage=0x%x\n", stage); return -1;