|
@@ -2176,7 +2176,7 @@ static void fas216_done(FAS216_Info *info, unsigned int result)
|
|
|
fn = (void (*)(FAS216_Info *, struct scsi_cmnd *, unsigned int))SCpnt->host_scribble;
|
|
|
fn(info, SCpnt, result);
|
|
|
|
|
|
- if (info->scsi.irq != NO_IRQ) {
|
|
|
+ if (info->scsi.irq) {
|
|
|
spin_lock_irqsave(&info->host_lock, flags);
|
|
|
if (info->scsi.phase == PHASE_IDLE)
|
|
|
fas216_kick(info);
|
|
@@ -2276,7 +2276,7 @@ static int fas216_noqueue_command_lck(struct scsi_cmnd *SCpnt,
|
|
|
* We should only be using this if we don't have an interrupt.
|
|
|
* Provide some "incentive" to use the queueing code.
|
|
|
*/
|
|
|
- BUG_ON(info->scsi.irq != NO_IRQ);
|
|
|
+ BUG_ON(info->scsi.irq);
|
|
|
|
|
|
info->internal_done = 0;
|
|
|
fas216_queue_command_lck(SCpnt, fas216_internal_done);
|