diff options
author | Jeff Garzik <jeff@garzik.org> | 2006-03-24 09:27:49 -0500 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-03-24 09:27:49 -0500 |
commit | 84ac69e8bf9f36eb0166817373336d14fa58f5cc (patch) | |
tree | 46325313df2311680c8e11a828c243f5dccb3407 /drivers/scsi/sata_vsc.c | |
parent | 11ed56fb7899f9eb9eaef8e5919db1bf08f1b07e (diff) |
[libata] irq-pio: fix build breakage
Diffstat (limited to 'drivers/scsi/sata_vsc.c')
-rw-r--r-- | drivers/scsi/sata_vsc.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/scsi/sata_vsc.c b/drivers/scsi/sata_vsc.c index 8c818d47c1fd..9f621a97c977 100644 --- a/drivers/scsi/sata_vsc.c +++ b/drivers/scsi/sata_vsc.c | |||
@@ -229,14 +229,13 @@ static irqreturn_t vsc_sata_interrupt (int irq, void *dev_instance, | |||
229 | handled++; | 229 | handled++; |
230 | } | 230 | } |
231 | 231 | ||
232 | if (ap && !(ap->flags & | 232 | if (ap && !(ap->flags & ATA_FLAG_PORT_DISABLED)) { |
233 | (ATA_FLAG_PORT_DISABLED|ATA_FLAG_NOINTR))) { | ||
234 | struct ata_queued_cmd *qc; | 233 | struct ata_queued_cmd *qc; |
235 | 234 | ||
236 | qc = ata_qc_from_tag(ap, ap->active_tag); | 235 | qc = ata_qc_from_tag(ap, ap->active_tag); |
237 | if (qc && (!(qc->tf.flags & ATA_TFLAG_POLLING))) | 236 | if (qc && (!(qc->tf.flags & ATA_TFLAG_POLLING))) |
238 | handled += ata_host_intr(ap, qc); | 237 | handled += ata_host_intr(ap, qc); |
239 | } else if (is_vsc_sata_int_err(i, int_status)) { | 238 | else if (is_vsc_sata_int_err(i, int_status)) { |
240 | /* | 239 | /* |
241 | * On some chips (i.e. Intel 31244), an error | 240 | * On some chips (i.e. Intel 31244), an error |
242 | * interrupt will sneak in at initialization | 241 | * interrupt will sneak in at initialization |