Skip to content

Commit

Permalink
be2net: increase POST timeout for EEH recovery
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sathya Perla authored and David S. Miller committed May 26, 2010
1 parent ea16f91 commit d938a70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/benet/be_cmds.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit d938a70

Please sign in to comment.