]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
be2net: increase POST timeout for EEH recovery
authorSathya Perla <sathyap@serverengines.com>
Wed, 26 May 2010 07:33:43 +0000 (00:33 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 26 May 2010 07:33:43 +0000 (00:33 -0700)
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>
drivers/net/benet/be_cmds.c

index c911bfb55b1955238565620377906ea42e84b0ce..9d11dbf5e4da2d96d941a48c2af51d8bae9bdb57 100644 (file)
@@ -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;