]> err.no Git - linux-2.6/blobdiff - drivers/ata/sata_sil.c
avr32: Use <mach/foo.h> instead of <asm/arch/foo.h>
[linux-2.6] / drivers / ata / sata_sil.c
index 987313b68f3bec8d5950e16882062b88d16bc8d2..88bf4212590f06f9f3f762894b226e012e9f2b18 100644 (file)
@@ -369,7 +369,7 @@ static void sil_host_intr(struct ata_port *ap, u32 bmdma2)
 
        if (unlikely(!qc || (qc->tf.flags & ATA_TFLAG_POLLING))) {
                /* this sometimes happens, just clear IRQ */
-               ap->ops->check_status(ap);
+               ap->ops->sff_check_status(ap);
                return;
        }
 
@@ -405,7 +405,7 @@ static void sil_host_intr(struct ata_port *ap, u32 bmdma2)
        }
 
        /* check main status, clearing INTRQ */
-       status = ap->ops->check_status(ap);
+       status = ap->ops->sff_check_status(ap);
        if (unlikely(status & ATA_BUSY))
                goto err_hsm;
 
@@ -480,7 +480,7 @@ static void sil_thaw(struct ata_port *ap)
        u32 tmp;
 
        /* clear IRQ */
-       ap->ops->check_status(ap);
+       ap->ops->sff_check_status(ap);
        ata_sff_irq_clear(ap);
 
        /* turn on SATA IRQ if supported */