-
- Downloads
IB: Set class_dev->dev in core for nice device symlink
All RDMA drivers except ehca set class_dev->dev to their dma_device value (ehca leaves this unset). dma_device is the only value that makes any sense, so move this assignment to core/sysfs.c. This reduce the duplicated code in the rest of the drivers and gives ehca a nice /sys/class/infiniband/ehcaX/device symlink. Signed-off-by:Joachim Fenkes <fenkes@de.ibm.com> Signed-off-by:
Roland Dreier <rolandd@cisco.com>
Showing
- drivers/infiniband/core/sysfs.c 1 addition, 0 deletionsdrivers/infiniband/core/sysfs.c
- drivers/infiniband/hw/amso1100/c2_provider.c 0 additions, 1 deletiondrivers/infiniband/hw/amso1100/c2_provider.c
- drivers/infiniband/hw/cxgb3/iwch_provider.c 0 additions, 1 deletiondrivers/infiniband/hw/cxgb3/iwch_provider.c
- drivers/infiniband/hw/ipath/ipath_verbs.c 0 additions, 1 deletiondrivers/infiniband/hw/ipath/ipath_verbs.c
- drivers/infiniband/hw/mthca/mthca_provider.c 0 additions, 1 deletiondrivers/infiniband/hw/mthca/mthca_provider.c
Loading
Please register or sign in to comment