This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

edma vs dma generic API in kernel

Guru 20755 points

Hello,

I try to use DMA in a ethernet driver I am writing (for OMAP4460).
I know there is the edma API which can be used with OMAP:
http://processors.wiki.ti.com/index.php/EDMA_sample_test_application

But on viewing the ethernet driver in the kernel tree, I can't find
anywhere using these APIs.
I assume there is some framework in between which is used instead (and
probably calls the edma APIs directly).

1. Do you think for simplicity I can use the edma APIs directly ?
2.Is there any example which shows how to use DMA - is it through other framework which call
the edma ?

Thank you,
Ran