Skip to content

Commit

Permalink
[libata] irq-pio: fix build breakage
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff Garzik committed Mar 24, 2006
1 parent 11ed56f commit 84ac69e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions drivers/scsi/sata_vsc.c
Original file line number Diff line number Diff line change
Expand Up @@ -229,14 +229,13 @@ static irqreturn_t vsc_sata_interrupt (int irq, void *dev_instance,
handled++;
}

if (ap && !(ap->flags &
(ATA_FLAG_PORT_DISABLED|ATA_FLAG_NOINTR))) {
if (ap && !(ap->flags & ATA_FLAG_PORT_DISABLED)) {
struct ata_queued_cmd *qc;

qc = ata_qc_from_tag(ap, ap->active_tag);
if (qc && (!(qc->tf.flags & ATA_TFLAG_POLLING)))
handled += ata_host_intr(ap, qc);
} else if (is_vsc_sata_int_err(i, int_status)) {
else if (is_vsc_sata_int_err(i, int_status)) {
/*
* On some chips (i.e. Intel 31244), an error
* interrupt will sneak in at initialization
Expand Down

0 comments on commit 84ac69e

Please sign in to comment.