[SCSI] qla2xxx: Use msleep() as delay during ISP polling.

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>
This commit is contained in:
andrew.vasquez@qlogic.com 2006-01-13 17:05:05 -08:00 committed by James Bottomley
parent e038a1be22
commit 03ab2eabed

View File

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