Skip to content

Commit

Permalink
[libata sata_mv] IRQ PIO build fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff Garzik committed Nov 18, 2005
1 parent f333b3f commit d67e7eb
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions drivers/scsi/sata_mv.c
Original file line number Diff line number Diff line change
Expand Up @@ -1220,8 +1220,7 @@ static void mv_host_intr(struct ata_host_set *host_set, u32 relevant,
handled++;
}

if (ap &&
(ap->flags & (ATA_FLAG_PORT_DISABLED | ATA_FLAG_NOINTR)))
if (ap && (ap->flags & ATA_FLAG_PORT_DISABLED))
continue;

err_mask = ac_err_mask(ata_status);
Expand All @@ -1242,7 +1241,7 @@ static void mv_host_intr(struct ata_host_set *host_set, u32 relevant,
VPRINTK("port %u IRQ found for qc, "
"ata_status 0x%x\n", port,ata_status);
/* mark qc status appropriately */
if (!(qc->tf.ctl & ATA_NIEN))
if (!(qc->tf.flags & ATA_TFLAG_POLLING))
ata_qc_complete(qc, err_mask);
}
}
Expand Down

0 comments on commit d67e7eb

Please sign in to comment.