![]() | |||||||||||
Messages in this thread |
On Thu, Nov 03, 2005 at 07:35:55PM +0100, Andi Kleen wrote: > Anyways, with the dma_ops patch we can probably separate it cleanly > and avoid the problem. Hi Andi, Kiran, would something like: #define PCI_DMA_BUS_IS_PHYS (mapping_ops->bus_is_phys) do the job, where mapping_ops->bus_is_phys is set to 0 for gart and swiotlb, and 1 for nommu? Cheers, Muli -- Muli Ben-Yehuda http://www.mulix.org | http://mulix.livejournal.com/ - 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/ | ||||||||||
| Last update: 2005-11-03 22:10 [from the cache] ©2003-2008 | |||||||||||