]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/ide/pci/piix.c
video: sh7760fb: SH7760/SH7763 LCDC framebuffer driver
[linux-2.6-omap-h63xx.git] / drivers / ide / pci / piix.c
index f04738d14a6f93b8499222dedef55ac582f4961c..0ce41b4dddafc543855f7c491c8fcf6599b666d2 100644 (file)
@@ -227,9 +227,9 @@ static void piix_dma_clear_irq(ide_drive_t *drive)
        u8 dma_stat;
 
        /* clear the INTR & ERROR bits */
-       dma_stat = inb(hwif->dma_status);
+       dma_stat = inb(hwif->dma_base + ATA_DMA_STATUS);
        /* Should we force the bit as well ? */
-       outb(dma_stat, hwif->dma_status);
+       outb(dma_stat, hwif->dma_base + ATA_DMA_STATUS);
 }
 
 struct ich_laptop {