Re: [PATCH 1/2] add the device argument to dma_mapping_error
From: FUJITA Tomonori
Date: Wed May 14 2008 - 21:16:18 EST
On Tue, 13 May 2008 08:39:01 -0700
Randy Dunlap <randy.dunlap@xxxxxxxxxx> 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@xxxxxxxxxxxxx>
(snip)
> Seems to be missing updates to Documentation/DMA-API.txt ??
Oops, I'll post an updated version against -mm soon.
Thanks,
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/