From: Ralph Campbell Date: Tue, 12 Dec 2006 22:27:41 +0000 (-0800) Subject: IB: Add DMA mapping functions to allow device drivers to interpose X-Git-Tag: v2.6.20-rc1~143^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b513090a3c5e4964f9ac09016c1586988abb3d5;p=pandora-kernel.git IB: Add DMA mapping functions to allow device drivers to interpose The QLogic InfiniPath HCAs use programmed I/O instead of HW DMA. This patch allows a verbs device driver to interpose on DMA mapping function calls in order to avoid relying on bus_to_virt() and phys_to_virt() to undo the mappings created by dma_map_single(), dma_map_sg(), etc. Signed-off-by: Ralph Campbell Signed-off-by: Roland Dreier --- Reading git-diff-tree failed