lkml.org 
[lkml]   [2008]   [May]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 1/2] add the device argument to dma_mapping_error
From
On Tue, 13 May 2008 08:39:01 -0700
Randy Dunlap <randy.dunlap@oracle.com> wrote:

> On Tue, 13 May 2008 15:04:51 +0900 FUJITA Tomonori wrote:
>
> > dma_mapping_error doesn't take a pointer to the device unlike other
> > DMA operations. So we can't have dma_mapping_ops per device.
> >
> > Note that POWER already has dma_mapping_ops per device but all the
> > POWER IOMMUs use the same dma_mapping_error function. x86 IOMMUs use
> > different dma_mapping_error functions. So dma_mapping_error needs the
> > device argument.
> >
> > Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>

(snip)

> Seems to be missing updates to Documentation/DMA-API.txt ??

Oops, I'll post an updated version against -mm soon.

Thanks,


\
 
 \ /
  Last update: 2008-05-15 03:19    [from the cache]
©2003-2011 Jasper Spaans