linux_dsm_epyc7002/drivers/infiniband/hw
Joachim Fenkes 1912ffbb88 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>
2007-04-24 21:30:38 -07:00
..
amso1100 IB: Set class_dev->dev in core for nice device symlink 2007-04-24 21:30:38 -07:00
cxgb3 IB: Set class_dev->dev in core for nice device symlink 2007-04-24 21:30:38 -07:00
ehca IB/ehca: Implement modify_port 2007-04-24 21:30:38 -07:00
ipath IB: Set class_dev->dev in core for nice device symlink 2007-04-24 21:30:38 -07:00
mthca IB: Set class_dev->dev in core for nice device symlink 2007-04-24 21:30:38 -07:00