[PATCH 1/4] Add DMA sector to Documentation/powerpc/booting-without-of.txt file.

Segher Boessenkool segher at kernel.crashing.org
Thu Jul 12 03:53:52 EST 2007


>>> I'd rather just treat the different DMA channels as independent  
>>> devices,
>>> rather than children of a dma "bus", and change the compatible  
>>> name if
>>> they're not general purpose.  There's only one register that's  
>>> shared
>>> among the channels, and it's a superfluous status summary register.
>>>
>> Your and my ideas are both sides of a coin. :-)
>
> I think there's a substantive difference between them.  Making each  
> channel an independent device makes it easier for other drivers to  
> use them.

True.  If the DMA channels are independent enough, putting them
in nodes of their own isn't too cumbersome, either.


Segher




More information about the Linuxppc-dev mailing list