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>
This commit is contained in:
Sathya Perla 2010-05-26 00:33:43 -07:00 committed by David S. Miller
parent ea16f912a6
commit d938a702e5

View File

@ -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;