Re: Generic DMA Core
From: Adrian Cox <hidden>
Date: 2004-04-01 07:01:44
On Wed, 2004-03-31 at 18:44, John Whitney wrote:
I have written a generic DMA core driver (drivers/dma/) that accepts registrations from low-level DMA hardware drivers (providers). I've also written a provider driver for the MPC10x dual-channel DMA controller. [...] Is there any interest in this code, and if so, what would be the best way for going about getting it included in the kernel?
I'd be interested in seeing it. I experimented with something similar for Linux 2.4. As for getting into the kernel, the main problem I see is that currently nothing else uses it. You may need to do a couple of things: write a dummy provider for machines without DMA engines, and use it to accelerate an existing process. The main use of these DMA engines is to transfer data to PCI cards which lack built-in DMA. So you probably need to find some examples and modify them to use your API. - Adrian Cox http://www.humboldt.co.uk/ ** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/