netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH net-next-2.6] be2net: Add 60 second delay to allow FAT dump completion on recovery from EEH
  2011-10-03 18:10 [PATCH net-next-2.6] be2net: Add 60 second delay to allow FAT dump completion on recovery from EEH Somnath Kotur
@ 2011-10-03 16:15 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2011-10-03 16:15 UTC (permalink / raw)
  To: somnath.kotur; +Cc: netdev

From: Somnath Kotur <somnath.kotur@Emulex.Com>
Date: Mon, 3 Oct 2011 23:40:57 +0530

> Add 60s delay before timeout on polling Bit 31 so that FAT dump can
> complete when reset occurs.
> 
> Signed-off-by: Somnath Kotur <somnath.kotur@emulex.com>

Applied.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH net-next-2.6] be2net: Add 60 second delay to allow FAT dump completion on recovery from EEH
@ 2011-10-03 18:10 Somnath Kotur
  2011-10-03 16:15 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Somnath Kotur @ 2011-10-03 18:10 UTC (permalink / raw)
  To: netdev, davem; +Cc: Somnath Kotur

Add 60s delay before timeout on polling Bit 31 so that FAT dump can
complete when reset occurs.

Signed-off-by: Somnath Kotur <somnath.kotur@emulex.com>
---
 drivers/net/ethernet/emulex/benet/be_cmds.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/net/ethernet/emulex/benet/be_cmds.c b/drivers/net/ethernet/emulex/benet/be_cmds.c
index 38c9222..6e7b521 100644
--- a/drivers/net/ethernet/emulex/benet/be_cmds.c
+++ b/drivers/net/ethernet/emulex/benet/be_cmds.c
@@ -416,7 +416,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;
-- 
1.5.6.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-10-03 16:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-03 18:10 [PATCH net-next-2.6] be2net: Add 60 second delay to allow FAT dump completion on recovery from EEH Somnath Kotur
2011-10-03 16:15 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).