]> git.karo-electronics.de Git - linux-beck.git/commitdiff
[libata sata_mv] IRQ PIO build fix
authorJeff Garzik <jgarzik@pobox.com>
Fri, 18 Nov 2005 16:55:00 +0000 (11:55 -0500)
committerJeff Garzik <jgarzik@pobox.com>
Fri, 18 Nov 2005 16:55:00 +0000 (11:55 -0500)
drivers/scsi/sata_mv.c

index 9687646d73e1ccd89f2df58222b1709573a91494..6dc2a612ccbdf9170878c4b3aa2294584b760715 100644 (file)
@@ -1220,8 +1220,7 @@ static void mv_host_intr(struct ata_host_set *host_set, u32 relevant,
                        handled++;
                }
 
-               if (ap &&
-                   (ap->flags & (ATA_FLAG_PORT_DISABLED | ATA_FLAG_NOINTR)))
+               if (ap && (ap->flags & ATA_FLAG_PORT_DISABLED))
                        continue;
 
                err_mask = ac_err_mask(ata_status);
@@ -1242,7 +1241,7 @@ static void mv_host_intr(struct ata_host_set *host_set, u32 relevant,
                                VPRINTK("port %u IRQ found for qc, "
                                        "ata_status 0x%x\n", port,ata_status);
                                /* mark qc status appropriately */
-                               if (!(qc->tf.ctl & ATA_NIEN))
+                               if (!(qc->tf.flags & ATA_TFLAG_POLLING))
                                        ata_qc_complete(qc, err_mask);
                        }
                }