On Fri, 2007-02-09 at 17:33 -0600, Kumar Gala wrote: > ideally all this would be handled via the dma mapping API, the > question is how to convey to the API to use the IO memory vs the > system memory? Should we look at adding a new GFP_IOMEM flag or do > something based on struct device? > > Any ideas on direction (or if this is a solved problem elsewhere) > would be appreciated.
Doesn't the dma_declare_coherent_memory() API work for this case? it was designed for the ARM SoC (and the voyager weird SCSI card). James - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

