Re: DMA API issues

From: Jeff Garzik
Date: Fri Jun 18 2004 - 18:45:16 EST


James Bottomley wrote:
On Fri, 2004-06-18 at 18:26, Ian Molton wrote:

On Fri, 18 Jun 2004 17:08:03 -0400
Jeff Garzik <jgarzik@xxxxxxxxx> wrote:

You _might_ convince the kernel DMA gurus that this could be done by creating a driver-specific bus, and pointing struct device to that internal bus, but that seems like an awful lot of work as opposed to the wrappers.

Its an awful lot less work than re-writing all those drivers!


Every other driver bar this one already copes correctly with on chip
memory using the ioremap methods. That's why we're all wondering if it
isn't simpler to fix this driver.


Indeed... if the SRAM is accessible via ioremapped memory, DMA API shouldn't be needed.

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/