]> Pileus Git - ~andy/linux/blobdiff - drivers/infiniband/hw/ipath/ipath_verbs.c
IB/ipath: Implement new verbs DMA mapping functions
[~andy/linux] / drivers / infiniband / hw / ipath / ipath_verbs.c
index acdee33ee1f8dc6448c2ffdbf6373955fb63d591..2aaacdb7e52abe141ad25772c9f162da3be9d918 100644 (file)
@@ -1599,6 +1599,7 @@ int ipath_register_ib_device(struct ipath_devdata *dd)
        dev->detach_mcast = ipath_multicast_detach;
        dev->process_mad = ipath_process_mad;
        dev->mmap = ipath_mmap;
+       dev->dma_ops = &ipath_dma_mapping_ops;
 
        snprintf(dev->node_desc, sizeof(dev->node_desc),
                 IPATH_IDSTR " %s", init_utsname()->nodename);