new dma API questions

Tom Rini trini at kernel.crashing.org
Fri Jun 4 01:46:24 EST 2004


On Thu, Jun 03, 2004 at 12:06:29PM +0300, Pantelis Antoniou wrote:

> Hi there.
>
> I have a few questions regarding the new DMA API.
[snip]
> 3. The first argument is dma_* function is a struct device.
>   When working with network devices I must set this to NULL.
>   Granted this is no problem right now, but could this be
>   a problem in the future?

It could be a problem in the future, but probably not until cpm1/cpm2
stuff uses OCP bits, which would have a dev entry to pass in (AFAIK,
there aren't plans to make use of dev yet, so...).

--
Tom Rini
http://gate.crashing.org/~trini/

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list