]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/ata/pata_rb532_cf.c
xen: fix for xen guest with mem > 3.7G
[linux-2.6-omap-h63xx.git] / drivers / ata / pata_rb532_cf.c
index a108d259f19d73768423c10ec86e4b4b20c1c1a1..f8b3ffc8ae9e40d5b5e0df5a8ad84ee6923710d8 100644 (file)
@@ -57,7 +57,9 @@ static inline void rb532_pata_finish_io(struct ata_port *ap)
        struct ata_host *ah = ap->host;
        struct rb532_cf_info *info = ah->private_data;
 
-       ata_sff_altstatus(ap);
+       /* FIXME: Keep previous delay. If this is merely a fence then
+          ata_sff_sync might be sufficient. */
+       ata_sff_dma_pause(ap);
        ndelay(RB500_CF_IO_DELAY);
 
        set_irq_type(info->irq, IRQ_TYPE_LEVEL_HIGH);