aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/sata_mv.c
diff options
context:
space:
mode:
authorJeff Garzik <jgarzik@pobox.com>2005-11-18 11:55:00 -0500
committerJeff Garzik <jgarzik@pobox.com>2005-11-18 11:55:00 -0500
commitd67e7ebb2a15bf0429c55f2fc1c4b02808367874 (patch)
tree069547c95e376312fc0e7a51637a7a3c2a7c5c50 /drivers/scsi/sata_mv.c
parentf333b3f111e9db76109e304df8ee777ace7fbf86 (diff)
[libata sata_mv] IRQ PIO build fix
Diffstat (limited to 'drivers/scsi/sata_mv.c')
-rw-r--r--drivers/scsi/sata_mv.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/scsi/sata_mv.c b/drivers/scsi/sata_mv.c
index 9687646d73e1..6dc2a612ccbd 100644
--- a/drivers/scsi/sata_mv.c
+++ b/drivers/scsi/sata_mv.c
@@ -1220,8 +1220,7 @@ static void mv_host_intr(struct ata_host_set *host_set, u32 relevant,
1220 handled++; 1220 handled++;
1221 } 1221 }
1222 1222
1223 if (ap && 1223 if (ap && (ap->flags & ATA_FLAG_PORT_DISABLED))
1224 (ap->flags & (ATA_FLAG_PORT_DISABLED | ATA_FLAG_NOINTR)))
1225 continue; 1224 continue;
1226 1225
1227 err_mask = ac_err_mask(ata_status); 1226 err_mask = ac_err_mask(ata_status);
@@ -1242,7 +1241,7 @@ static void mv_host_intr(struct ata_host_set *host_set, u32 relevant,
1242 VPRINTK("port %u IRQ found for qc, " 1241 VPRINTK("port %u IRQ found for qc, "
1243 "ata_status 0x%x\n", port,ata_status); 1242 "ata_status 0x%x\n", port,ata_status);
1244 /* mark qc status appropriately */ 1243 /* mark qc status appropriately */
1245 if (!(qc->tf.ctl & ATA_NIEN)) 1244 if (!(qc->tf.flags & ATA_TFLAG_POLLING))
1246 ata_qc_complete(qc, err_mask); 1245 ata_qc_complete(qc, err_mask);
1247 } 1246 }
1248 } 1247 }