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-Tag: v2.6.39-400.9.0~821^2~30 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=195393d39d7c7e74fc60219901ca1db7bb45da2b;p=users%2Fjedix%2Flinux-maple.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/benet/be_cmds.c b/drivers/net/benet/be_cmds.c index 02a31ac895c3..9ef37ee66615 100644 --- a/drivers/net/benet/be_cmds.c +++ b/drivers/net/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;