[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20071120120735.GA25255@uranus.ravnborg.org>
Date: Tue, 20 Nov 2007 13:07:35 +0100
From: Sam Ravnborg <sam@...nborg.org>
To: Haavard Skinnemoen <hskinnemoen@...el.com>
Cc: Shannon Nelson <shannon.nelson@...el.com>,
Dan Williams <dan.j.williams@...el.com>,
linux-kernel@...r.kernel.org, Olof Johansson <olof@...om.net>
Subject: Re: [PATCH] dmaengine: Simple DMA memcpy test client
On Tue, Nov 20, 2007 at 12:32:34PM +0100, Haavard Skinnemoen wrote:
> This client tests DMA memcpy using various lengths and various offsets
> into the source and destination buffers. It will initialize both
> buffers with a know pattern and verify that the DMA engine copies the
> requested region and nothing more.
>
> Signed-off-by: Haavard Skinnemoen <hskinnemoen@...el.com>
> ---
> This patch depends on "DMAENGINE: Convert from class_device to
> device". Please let me know if you want a patch that doesn't.
>
> drivers/dma/Kconfig | 8 ++
> drivers/dma/Makefile | 1 +
> drivers/dma/dmatest.c | 272 +++++++++++++++++++++++++++++++++++++++++++++++++
> 3 files changed, 281 insertions(+), 0 deletions(-)
> create mode 100644 drivers/dma/dmatest.c
>
> diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig
> index 6a7d25f..b669595 100644
> --- a/drivers/dma/Kconfig
> +++ b/drivers/dma/Kconfig
> @@ -49,4 +49,12 @@ config NET_DMA
> Since this is the main user of the DMA engine, it should be enabled;
> say Y here.
>
> +config DMATEST
> + tristate "DMA Test client"
> + depends on DMA_ENGINE
> + default n
n is implicit default so adding it is for no use.
Sam
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists