Skip to contentSkip to conversation

be2net: increase POST timeout for EEH recovery

PATCH Applied Sathya Perla 2 participants 2 messages May 26, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 be2net: increase POST timeout for EEH recovery

Sometimes BE requires longer time for POST completion after an EEH reset. Increasing the timeout value accordingly.

---
 drivers/net/benet/be_cmds.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/net/benet/be_cmds.c +1 -1
index c911bfb..9d11dbf 100644
@@ -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;
Signature · 1 line
1.6.5.2