提交 d938a702 编写于 作者: S Sathya Perla 提交者: David S. Miller

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: NSathya Perla <sathyap@serverengines.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 ea16f912
...@@ -294,7 +294,7 @@ int be_cmd_POST(struct be_adapter *adapter) ...@@ -294,7 +294,7 @@ int be_cmd_POST(struct be_adapter *adapter)
} else { } else {
return 0; return 0;
} }
} while (timeout < 20); } while (timeout < 40);
dev_err(&adapter->pdev->dev, "POST timeout; stage=0x%x\n", stage); dev_err(&adapter->pdev->dev, "POST timeout; stage=0x%x\n", stage);
return -1; return -1;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册