[lkml]   [2009]   [Jun]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: DMA_ENGINE: can't use it without selecting a dma engine driver
Dragos Tatulea wrote:
> Hi,
>>> Just discovered that it's impossible to select the dma engine
>>> without compiling a dma engine driver from the kernel. What if I want to
>>> use a different dma engine?
>> Create a Kconfig entry for your driver in drivers/dma/Kconfig and have
>> it "select DMA_ENGINE".
> That's what I want to avoid. The dma engine driver is out of tree.
> What is the rationale behind this? It seems (to me) impossible to have all
> such drivers in upstream.

It is very straightforward to have all drivers upstream, just send the
code [1].

The rationale for this configuration scheme is to turn off a lot of
unnecessary code when we know at build time that a dma driver will never
be loaded.

If you must keep your driver out of tree simply maintain another out of
tree patch that allows DMA_ENGINE to be manually enabled.



 \ /
  Last update: 2009-06-17 18:41    [W:0.048 / U:1.568 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site