[PATCH 1/3] dmaengine: add new dma API for max_segment_number

Shawn Guo shawn.guo at freescale.com
Mon Jun 6 02:54:21 EDT 2011


On Mon, Jun 06, 2011 at 03:38:12PM +0900, FUJITA Tomonori wrote:
> On Mon, 06 Jun 2011 10:58:38 +0530
> "Koul, Vinod" <vinod.koul at intel.com> wrote:
> 
> > On Sun, 2011-06-05 at 10:30 +0900, FUJITA Tomonori wrote:
> > > On Wed, 1 Jun 2011 10:33:57 +0800
> > > Shawn Guo <shawn.guo at freescale.com> wrote:
> > > 
> > > > On Thu, May 26, 2011 at 02:31:31PM +0800, Shawn Guo wrote:
> > > > > Like dma_set(get)_max_seg_size for max_segment_size, the patch adds
> > > > > max_segment_number into device_dma_parameters and creates the
> > > > > corresponding dmaengine API dma_set(get)_max_seg_number for it.
> > > > > 
> > > > > Signed-off-by: Shawn Guo <shawn.guo at linaro.org>
> > > > > ---
> > > > >  include/linux/device.h      |    1 +
> > > > >  include/linux/dma-mapping.h |   15 +++++++++++++++
> > > > >  2 files changed, 16 insertions(+), 0 deletions(-)
> > > 
> > > include/linux/dma-mapping.h is for DMA mapping API (please see
> > > Documentation/DMA-API*.txt).
> > > 
Hmm, I think they are all about dmaengine.

> > > What does dma_set(get)_max_seg_size do? And it's related with DMA
> > > mapping API?
> > See the other post by author
> 
> The pointer, please.
> 
http://permalink.gmane.org/gmane.linux.kernel/1149304

-- 
Regards,
Shawn




More information about the linux-arm-kernel mailing list