]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
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)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Thu, 8 Dec 2011 23:36:09 +0000 (15:36 -0800)
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/benet/be_cmds.c

index 02a31ac895c3d1a3becfb4cadd000ee62012c4c5..9ef37ee66615f431177ea3406cc304980fa8e9cb 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;