lkml.org 
[lkml]   [2008]   [Sep]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] fsl-dma: allow Freescale Elo DMA driver to be compiled as a module
Date

On Sep 19, 2008, at 10:11 AM, Timur Tabi wrote:

> Modify the Freescale Elo / Elo Plus DMA driver so that it can be
> compiled as
> a module.
>
> The primary change is to stop treating the DMA controller as a bus,
> and the
> DMA channels as devices on the bus. This is because the Open
> Firmware (OF)
> kernel code does not allow busses to be removed, so although we can
> call
> of_platform_bus_probe() to probe the DMA channels, there is no
> of_platform_bus_remove(). Therefore, the DMA channels must be
> manually probed.
>
> Signed-off-by: Timur Tabi <timur@freescale.com>
> ---
>
> (Reposting because I forgot to CC: the maintainers)
>
> This patch is for the 2.6.28 kernel. This patch exposes a bug in
> the dmatest
> module, so my other patch "dmatest: properly handle duplicate DMA
> channels"
> should be applied if this patch is applied.
>
> drivers/dma/Kconfig | 10 ++--
> drivers/dma/fsldma.c | 165 +++++++++++++++++++++++++++++++++
> +----------------
> drivers/dma/fsldma.h | 2 +
> 3 files changed, 119 insertions(+), 58 deletions(-)

Dan, any update on this patch?

- k


\
 
 \ /
  Last update: 2008-09-24 20:33    [W:0.042 / U:0.396 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site