be2net: Add 60 second delay to allow FAT dump completion on recovery from EEH
authorSomnath Kotur <somnath.kotur@emulex.com>
Mon, 3 Oct 2011 08:10:57 +0000 (08:10 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 3 Oct 2011 16:14:45 +0000 (12:14 -0400)
Add 60s delay before timeout on polling Bit 31 so that FAT dump can
complete when reset occurs.

Signed-off-by: Somnath Kotur <somnath.kotur@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be_cmds.c

index 4b655b854073a7ced275d58d59ffde66391e7e77..eb58a80aaddd96e3d2aa927bfca6dc5043071156 100644 (file)
@@ -398,7 +398,7 @@ int be_cmd_POST(struct be_adapter *adapter)
                } else {
                        return 0;
                }
-       } while (timeout < 40);
+       } while (timeout < 60);
 
        dev_err(dev, "POST timeout; stage=0x%x\n", stage);
        return -1;