aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/sata_vsc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/sata_vsc.c')
-rw-r--r--drivers/scsi/sata_vsc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/scsi/sata_vsc.c b/drivers/scsi/sata_vsc.c
index cf94e0158a8d..92378d768c86 100644
--- a/drivers/scsi/sata_vsc.c
+++ b/drivers/scsi/sata_vsc.c
@@ -193,12 +193,12 @@ static irqreturn_t vsc_sata_interrupt (int irq, void *dev_instance,
193 struct ata_port *ap; 193 struct ata_port *ap;
194 194
195 ap = host_set->ports[i]; 195 ap = host_set->ports[i];
196 if (ap && !(ap->flags & 196 if (ap &&
197 (ATA_FLAG_PORT_DISABLED|ATA_FLAG_NOINTR))) { 197 !(ap->flags & ATA_FLAG_PORT_DISABLED)) {
198 struct ata_queued_cmd *qc; 198 struct ata_queued_cmd *qc;
199 199
200 qc = ata_qc_from_tag(ap, ap->active_tag); 200 qc = ata_qc_from_tag(ap, ap->active_tag);
201 if (qc && (!(qc->tf.ctl & ATA_NIEN))) 201 if (qc && (!(qc->tf.flags & ATA_TFLAG_POLLING)))
202 handled += ata_host_intr(ap, qc); 202 handled += ata_host_intr(ap, qc);
203 } 203 }
204 } 204 }