[uClinux-dev] Freescale's MCDMAAPI vs. Generic Linux DMA API on Coldfire MCF548x

Greg Ungerer gerg at snapgear.com
Wed Feb 6 19:39:11 EST 2008


Hi markus,

Markus Franke wrote:
> Zitat von Greg Ungerer <gerg at snapgear.com>:
>> As a general rule you want to follow the way Linux does things.
>> This is especially true for modern versions of the kernel (2.6.x),
>> and especially if you want the code to be acceptable for main
>> line inclusion.
> 
> apart from <LINUX/Documentation/DMA-API.txt>, is there any further 
> documentation about the linux DMA subsystem available. LDD3 also talks 

As far as I am aware that is all there is. Look at the code
for other architectures as an example as well.


> more about the usage of the Generic DMA Layer, rather than saying 
> something about how to connect your target specific DMA code to the DMA 
> core. I am especially interested in the function stubs/macros one need 
> to provide to the Linux DMA Layer.

The code for other architectures will probably provide the
best example of what to do.

Regards
Greg



------------------------------------------------------------------------
Greg Ungerer  --  Chief Software Dude       EMAIL:     gerg at snapgear.com
Secure Computing Corporation                PHONE:       +61 7 3435 2888
825 Stanley St,                             FAX:         +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia         WEB: http://www.SnapGear.com


More information about the uClinux-dev mailing list