Messages in this thread | | | Date | Mon, 20 Aug 2007 10:24:53 +0200 | From | Jes Sorensen <> | Subject | Re: [PATCH 2/3] dma: override "dma_flags_set_dmaflush" for sn-ia64 |
| |
akepner@sgi.com wrote: > Define ARCH_DOES_POSTED_DMA, and override the dma_flags_set_dmaflush > function. Also define dma_flags_get_direction, dma_flags_get_dmaflush > to retrieve the direction and "dmaflush attribute" from flags > passed to the sn_dma_map_* functions. >
Hi Arthur,
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.
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.
Cheers, Jes - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |