Re: [PATCH] ata: libata depends on HAS_DMA

From: Robert Hancock
Date: Wed May 13 2009 - 19:57:36 EST


Alan Cox wrote:
If it doesn't interfere with plain PIO mode, fine.
I agree. There definitely needs to still be support for IDE ports that
don't have DMA capability.

There is - it's just if the platform doesn't implement the dma_* APIs you
get a problem.

Wouldn't the easiest solution be to just dummy out the DMA API calls on this platform to always fail? That would fix these compile problems..
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/