]> err.no Git - linux-2.6/blobdiff - drivers/scsi/sata_nv.c
Merge branch 'master'
[linux-2.6] / drivers / scsi / sata_nv.c
index 4954896dfdb9bb5026fa7401fd436f5d74014e81..8fdb2336f6f36cb15665e2d41ec95c4be08d618a 100644 (file)
@@ -304,11 +304,11 @@ static irqreturn_t nv_interrupt (int irq, void *dev_instance,
 
                ap = host_set->ports[i];
                if (ap &&
-                   !(ap->flags & (ATA_FLAG_PORT_DISABLED | ATA_FLAG_NOINTR))) {
+                   !(ap->flags & ATA_FLAG_PORT_DISABLED)) {
                        struct ata_queued_cmd *qc;
 
                        qc = ata_qc_from_tag(ap, ap->active_tag);
-                       if (qc && (!(qc->tf.ctl & ATA_NIEN)))
+                       if (qc && (!(qc->tf.flags & ATA_TFLAG_POLLING)))
                                handled += ata_host_intr(ap, qc);
                }