static int siimage_dma_test_irq(ide_drive_t *drive) { if (drive->hwif->mmio) return siimage_mmio_dma_test_irq(drive); else return siimage_io_dma_test_irq(drive); }
static int siimage_dma_test_irq(ide_drive_t *drive) { if (drive->hwif->host_flags & IDE_HFLAG_MMIO) return siimage_mmio_dma_test_irq(drive); else return siimage_io_dma_test_irq(drive); }