Re: [PATCH 4/4] Add DMA engine driver for Freescale MPC8xxx processors.

2007-07-12 Thread Scott Wood
Zhang Wei-r63237 wrote: >>It'd be much simpler to allocate the entire ring at once. No need for >>linked lists, DMA pools, etc. Just a single dma_alloc_coherent. >> > > > I use a flexible ld ring size here. If there is no more free ring, the > driver can add new ld to the ring. I don't think t

RE: [PATCH 4/4] Add DMA engine driver for Freescale MPC8xxx processors.

2007-07-12 Thread Zhang Wei-r63237
> -Original Message- > From: Wood Scott-B07421 > > On Tue, Jul 10, 2007 at 05:45:26PM +0800, Zhang Wei wrote: > > +config FSL_DMA > > + bool "Freescale MPC8xxx DMA support" > > + depends on DMA_ENGINE && (PPC_86xx || PPC_85xx) > > Remove the dependency on specific PPC chips... le

Re: [PATCH 4/4] Add DMA engine driver for Freescale MPC8xxx processors.

2007-07-11 Thread Scott Wood
On Tue, Jul 10, 2007 at 05:45:26PM +0800, Zhang Wei wrote: > +config FSL_DMA > + bool "Freescale MPC8xxx DMA support" > + depends on DMA_ENGINE && (PPC_86xx || PPC_85xx) Remove the dependency on specific PPC chips... let the device tree say whether the hardware is present. > +static inli

[PATCH 4/4] Add DMA engine driver for Freescale MPC8xxx processors.

2007-07-10 Thread Zhang Wei
This driver adopts DMA engine API, which could be used for MEM<-->MEM, IO_ADDR<-->MEM and IO_ADDR<-->IO_ADDR data transfer. This driver support both Basic and Extended chain mode of Freescale MPC8xxx DMA controller. Signed-off-by: Zhang Wei <[EMAIL PROTECTED]> Signed-off-by: Ebony Zhu <[EMAIL PROT