IB/ipath: Implement new verbs DMA mapping functions
authorRalph Campbell <ralph.campbell@qlogic.com>
Tue, 12 Dec 2006 22:28:28 +0000 (14:28 -0800)
committerRoland Dreier <rolandd@cisco.com>
Tue, 12 Dec 2006 22:28:28 +0000 (14:28 -0800)
commitf2cbb660ed37294e3eeb98c045de6890079ccb01
tree860d7fcf838dd0937d59a420f2018ee6f2f9935e
parent9b513090a3c5e4964f9ac09016c1586988abb3d5
IB/ipath: Implement new verbs DMA mapping functions

This patch implements the interposing DMA mapping functions to allow
support for IOMMUs and remove the dependence on phys_to_virt() and
bus_to_virt().

Signed-off-by: Ralph Campbell <ralph.campbell@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ipath/Makefile
drivers/infiniband/hw/ipath/ipath_dma.c [new file with mode: 0644]
drivers/infiniband/hw/ipath/ipath_keys.c
drivers/infiniband/hw/ipath/ipath_mr.c
drivers/infiniband/hw/ipath/ipath_verbs.c
drivers/infiniband/hw/ipath/ipath_verbs.h