diff options
author | andrew.vasquez@qlogic.com <andrew.vasquez@qlogic.com> | 2006-01-13 17:05:05 -0800 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.(none)> | 2006-01-14 10:55:27 -0600 |
commit | 03ab2eabed74708c0c74163723007e8e72244219 (patch) | |
tree | ba997c13673d54e669676edb35506ab5ed3cd6a2 /drivers/scsi/qla2xxx | |
parent | e038a1be22bef90795c5239d1563609b89c3aa18 (diff) | |
download | kernel_samsung_smdk4412-03ab2eabed74708c0c74163723007e8e72244219.zip kernel_samsung_smdk4412-03ab2eabed74708c0c74163723007e8e72244219.tar.gz kernel_samsung_smdk4412-03ab2eabed74708c0c74163723007e8e72244219.tar.bz2 |
[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>
Diffstat (limited to 'drivers/scsi/qla2xxx')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_mbx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/qla2xxx/qla_mbx.c b/drivers/scsi/qla2xxx/qla_mbx.c index 9746cd1..f90e68d 100644 --- a/drivers/scsi/qla2xxx/qla_mbx.c +++ b/drivers/scsi/qla2xxx/qla_mbx.c @@ -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 */ } |