On Wed, Mar 16, 2005 at 05:53:39PM +0100, Jens Axboe wrote: > The list doesn't really need dma mapping at that point, the problem here > is that the driver needs to punt to pio mode because of foo. So calling > pci/dma_map_* is pointless, since the CPU will have to do the transfer > anyways. What the driver is really looking for at this point, is a way > to map the pages in the sglist to a virtual address.
Given that there's quite a few cases of this "problem" it would be nice to have common helpers for it. Especially as it's really difficult when we allow merging of sg list entries - To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html