diff options
author | Sathya Perla <sathyap@serverengines.com> | 2010-05-26 03:33:43 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-05-26 03:33:43 -0400 |
commit | d938a702e5ce8909ea68be97566150507bfea4df (patch) | |
tree | 084156d1a7dc0bdb1acf60679632697ce123af10 /drivers/net/benet | |
parent | ea16f912a6ad9fe43131a2e2a108f089c432d510 (diff) |
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@serverengines.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/benet')
-rw-r--r-- | 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 c911bfb55b19..9d11dbf5e4da 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) | |||
294 | } else { | 294 | } else { |
295 | return 0; | 295 | return 0; |
296 | } | 296 | } |
297 | } while (timeout < 20); | 297 | } while (timeout < 40); |
298 | 298 | ||
299 | dev_err(&adapter->pdev->dev, "POST timeout; stage=0x%x\n", stage); | 299 | dev_err(&adapter->pdev->dev, "POST timeout; stage=0x%x\n", stage); |
300 | return -1; | 300 | return -1; |