]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/ide/pci/sl82c105.c
ide: use PIO/MMIO operations directly where possible (v2)
[karo-tx-linux.git] / drivers / ide / pci / sl82c105.c
index 1cb8afe9cb3c2c2c898f945ebf7bffd577452a4f..c7025858f237501bc9ddbca0ed3f60db3b6de5d0 100644 (file)
@@ -215,7 +215,7 @@ static int sl82c105_ide_dma_lost_irq(ide_drive_t *drive)
         * Was DMA enabled?  If so, disable it - we're resetting the
         * host.  The IDE layer will be handling the drive for us.
         */
-       val = hwif->INB(dma_base);
+       val = inb(dma_base);
        if (val & 1) {
                outb(val & ~1, dma_base);
                printk("sl82c105: DMA was enabled\n");