diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2015-07-01 14:04:12 +1000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2015-07-01 14:04:12 +1000 |
commit | f469c1f4df925f207fea4b727e5c0561af88bd9b (patch) | |
tree | 961b00fecde50be803dd5d62960b09faf66c4510 /hw | |
parent | 6be837c7ef0da5407d523c746e8a35da31e53f08 (diff) | |
download | skiboot-f469c1f4df925f207fea4b727e5c0561af88bd9b.zip skiboot-f469c1f4df925f207fea4b727e5c0561af88bd9b.tar.gz skiboot-f469c1f4df925f207fea4b727e5c0561af88bd9b.tar.bz2 |
PHB3: Wait 2s for electrical link to come up
We have problem with some Mellanox cards
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/phb3.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2026,12 +2026,12 @@ static int64_t phb3_start_link_poll(struct phb3 *p) { /* * Wait for link up to 10s. However, we give up after - * only a second if the electrical connection isn't + * only two seconds if the electrical connection isn't * stablished according to the DLP link control register */ p->retries = PHB3_LINK_ELECTRICAL_RETRIES; p->state = PHB3_STATE_WAIT_LINK_ELECTRICAL; - return phb3_set_sm_timeout(p, msecs_to_tb(1000)); + return phb3_set_sm_timeout(p, msecs_to_tb(100)); } static int64_t phb3_sm_hot_reset(struct phb3 *p) |