예제 #1
0
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);
}
예제 #2
0
파일: siimage.c 프로젝트: maraz/linux-2.6
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);
}