Messages in this thread |  | | | Date | Thu, 15 May 2008 10:12:25 +0900 | | Subject | Re: [PATCH 1/2] add the device argument to dma_mapping_error | | From | FUJITA Tomonori <> | |
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,
|  |