[SCSI] be2iscsi: More time for FW
authorJayamohan Kallickal <jayamohan.kallickal@emulex.com>
Wed, 6 Oct 2010 18:15:21 +0000 (23:45 +0530)
committerJames Bottomley <James.Bottomley@suse.de>
Mon, 11 Oct 2010 22:43:10 +0000 (17:43 -0500)
   This patch provides more time for the FW to respond. This became
necessary in boot situations

Signed-off-by: Jayamohan Kallickal <jayamohan.kallickal@emulex.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/be2iscsi/be_cmds.c

index 7c75373..ad24636 100644 (file)
@@ -335,7 +335,7 @@ static int be_mbox_db_ready_wait(struct be_ctrl_info *ctrl)
                if (ready)
                        break;
 
-               if (cnt > 6000000) {
+               if (cnt > 12000000) {
                        dev_err(&ctrl->pdev->dev, "mbox_db poll timed out\n");
                        return -EBUSY;
                }