Re: [PATCH] x86-64: dma_ops for DMA mapping -K4

From: Christoph Hellwig
Date: Thu Nov 17 2005 - 17:03:35 EST


On Thu, Nov 17, 2005 at 03:16:22PM +0200, Muli Ben-Yehuda wrote:
> Hi Andi,
>
> Here's the latest version of the dma_ops patch. The patch is against
> Linus's tree as of yesterday and applies cleanly to
> 2.6.15-rc1-git5. Tested on AMD64 and Intel EM64 (x366) with gart,
> swiotlb, nommu and iommu=off. Please apply...

Any chance you could move struct dma_mapping_ops to generic code and
implement the dma_ operations ontop of them in linux/dma-mapping.h if
the arch sets a WANT_DMA_MAPPING_OPS symbol? This kind of switch is
duplicated in far too many architectures.

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