Re: libata & no PCI: dma_[un]map_single undefined

From: Jeff Garzik
Date: Mon Jun 04 2007 - 20:53:40 EST


On Mon, Jun 04, 2007 at 08:47:19AM +0100, Christoph Hellwig wrote:
> The right fix is the depend on the new HAS_DMA (or whatever it's called)

ACK... if the platform truly does not do DMA.


> symbol. The proper long-term fix is to move calln to the dam mapping
> functions from the core libata files into the drivers responsibility with
> a default implementation for the typical cases.

NAK

We have generic devices and generic DMA mapping. libata already uses
the generic stuff. Now fix the platform...

Jeff



-
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/