Re: [PATCH 2/3] dma: override "dma_flags_set_dmaflush" for sn-ia64

From: akepner
Date: Mon Aug 20 2007 - 12:08:31 EST


On Mon, Aug 20, 2007 at 10:24:53AM +0200, Jes Sorensen wrote:

> I'm a little concerned about changing the API for the dma_ foo
> functions, which are defined cross platform. If you want to change
> that, I think it will require updating the documentation explaining
> it.

Good idea. I'll post a documentation patchette.

>
> Regarding ARCH_DOES_POSTED_DMA, is that sufficient as a #define or
> does it have to be run-time tested? (does it do anything at this
> stage). I ask since not all ia64 platforms do posted DMA.
>

I think a #define is exactly what we want here.

The newly #define-ed function (for now, and maybe forever) does
nothing except on IA64_SGI_SN2, which does posted DMA.

--
Arthur

-
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/