commit | 9b513090a3c5e4964f9ac09016c1586988abb3d5 | [log] [tgz] |
---|---|---|
author | Ralph Campbell <ralph.campbell@qlogic.com> | Tue Dec 12 14:27:41 2006 -0800 |
committer | Roland Dreier <rolandd@cisco.com> | Tue Dec 12 14:27:41 2006 -0800 |
tree | 8b71e45be3fae1ef83a7a2808141fb02e7160fae | |
parent | 75216638572f53612304c05a374f0246fe1d16da [diff] |
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 <ralph.campbell@qlogic.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>