diff options
Diffstat (limited to 'drivers/scsi/NCR5380.c')
-rw-r--r-- | drivers/scsi/NCR5380.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/scsi/NCR5380.c b/drivers/scsi/NCR5380.c index cc9ecb35b412..cba9655d0f14 100644 --- a/drivers/scsi/NCR5380.c +++ b/drivers/scsi/NCR5380.c | |||
@@ -606,10 +606,7 @@ static int __init NCR5380_probe_irq(struct Scsi_Host *instance, int possible) | |||
606 | NCR5380_write(INITIATOR_COMMAND_REG, ICR_BASE | ICR_ASSERT_DATA | ICR_ASSERT_SEL); | 606 | NCR5380_write(INITIATOR_COMMAND_REG, ICR_BASE | ICR_ASSERT_DATA | ICR_ASSERT_SEL); |
607 | 607 | ||
608 | while (probe_irq == SCSI_IRQ_NONE && time_before(jiffies, timeout)) | 608 | while (probe_irq == SCSI_IRQ_NONE && time_before(jiffies, timeout)) |
609 | { | 609 | schedule_timeout_uninterruptible(1); |
610 | set_current_state(TASK_UNINTERRUPTIBLE); | ||
611 | schedule_timeout(1); | ||
612 | } | ||
613 | 610 | ||
614 | NCR5380_write(SELECT_ENABLE_REG, 0); | 611 | NCR5380_write(SELECT_ENABLE_REG, 0); |
615 | NCR5380_write(INITIATOR_COMMAND_REG, ICR_BASE); | 612 | NCR5380_write(INITIATOR_COMMAND_REG, ICR_BASE); |