Merge branch 'upstream'
[deliverable/linux.git] / drivers / scsi / sata_nv.c
index 9fa2535dd93731e7708440bfcc2661ba9fea760d..ada45f74afde95185136b4c6aef53c5d44fc5e4e 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);
                }
 
This page took 0.024729 seconds and 5 git commands to generate.