[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100526070048.GA2312@serverengines.com>
Date: Wed, 26 May 2010 12:30:48 +0530
From: Sathya Perla <sathyap@...verengines.com>
To: netdev@...r.kernel.org
Subject: [PATCH] be2net: increase POST timeout for EEH recovery
Sometimes BE requires longer time for POST completion after an EEH reset.
Increasing the timeout value accordingly.
Signed-off-by: Sathya Perla <sathyap@...verengines.com>
---
drivers/net/benet/be_cmds.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/net/benet/be_cmds.c b/drivers/net/benet/be_cmds.c
index c911bfb..9d11dbf 100644
--- a/drivers/net/benet/be_cmds.c
+++ b/drivers/net/benet/be_cmds.c
@@ -294,7 +294,7 @@ int be_cmd_POST(struct be_adapter *adapter)
} else {
return 0;
}
- } while (timeout < 20);
+ } while (timeout < 40);
dev_err(&adapter->pdev->dev, "POST timeout; stage=0x%x\n", stage);
return -1;
--
1.6.5.2
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists