]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging/rdma/hfi1: Consolidate dma ops for hfi1
authorIra Weiny <ira.weiny@intel.com>
Tue, 19 Jan 2016 22:41:44 +0000 (14:41 -0800)
committerDoug Ledford <dledford@redhat.com>
Fri, 11 Mar 2016 01:37:35 +0000 (20:37 -0500)
Remove the dma.c file from hfi1 in favor of using that which is
present in rdmavt.

Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/staging/rdma/hfi1/Makefile
drivers/staging/rdma/hfi1/verbs.c
drivers/staging/rdma/hfi1/verbs.h

index e63251b9c56bf898be1c0d35d665dc22e5002fc0..69fb10f6a111b1384a913cc894bf4eb6a3c4582c 100644 (file)
@@ -7,7 +7,7 @@
 #
 obj-$(CONFIG_INFINIBAND_HFI1) += hfi1.o
 
-hfi1-y := chip.o cq.o device.o diag.o dma.o driver.o efivar.o eprom.o file_ops.o firmware.o \
+hfi1-y := chip.o cq.o device.o diag.o driver.o efivar.o eprom.o file_ops.o firmware.o \
        init.o intr.o keys.o mad.o mmap.o mr.o pcie.o pio.o pio_copy.o \
        qp.o qsfp.o rc.o ruc.o sdma.o srq.o sysfs.o trace.o twsi.o \
        uc.o ud.o user_exp_rcv.o user_pages.o user_sdma.o verbs_mcast.o verbs.o
index 5e2113244e6dc9cafed7fbc451adcc9e2935a465..347409ef3b1ee3c17ab15dab0a1bebfae53faaeb 100644 (file)
@@ -2063,7 +2063,7 @@ int hfi1_register_ib_device(struct hfi1_devdata *dd)
        ibdev->detach_mcast = hfi1_multicast_detach;
        ibdev->process_mad = hfi1_process_mad;
        ibdev->mmap = hfi1_mmap;
-       ibdev->dma_ops = &hfi1_dma_mapping_ops;
+       ibdev->dma_ops = NULL;
        ibdev->get_port_immutable = port_immutable;
 
        strncpy(ibdev->node_desc, init_utsname()->nodename,
index 58fb122509b191de57ca18706b348e87ce613888..a505545ed70390cdb64b887499642fa81a44c972 100644 (file)
@@ -1151,6 +1151,4 @@ extern unsigned int hfi1_max_srq_wrs;
 
 extern const u32 ib_hfi1_rnr_table[];
 
-extern struct ib_dma_mapping_ops hfi1_dma_mapping_ops;
-
 #endif                          /* HFI1_VERBS_H */