[SCSI] qla2xxx: Use msleep() as delay during ISP polling.
authorandrew.vasquez@qlogic.com <andrew.vasquez@qlogic.com>
Sat, 14 Jan 2006 01:05:05 +0000 (17:05 -0800)
committerJames Bottomley <jejb@mulgrave.(none)>
Sat, 14 Jan 2006 16:55:27 +0000 (10:55 -0600)
Mailbox commands are polled for completion during ISP
initialization.  During potentially 'long' mailbox commands
(i.e. fabric login), we really don't want a busy-wait delay
to potentially trigger a (benign) soft-lockup BUG().

Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/qla2xxx/qla_mbx.c

index 9746cd1e664bd70429021ba77d68d5f071dd5c50..f90e68de0a86e3d841a65061217c1e9af11362e9 100644 (file)
@@ -196,7 +196,7 @@ qla2x00_mailbox_command(scsi_qla_host_t *ha, mbx_cmd_t *mcp)
                        /* Check for pending interrupts. */
                        qla2x00_poll(ha);
 
-                       udelay(10); /* v4.27 */
+                       msleep(10);
                } /* while */
        }