android_kernel_xiaomi_sm8350/drivers/infiniband/hw/amso1100
Ralph Campbell 9a6edb60ec IB/core: Allow device-specific per-port sysfs files
Add a new parameter to ib_register_device() so that low-level device
drivers can pass in a pointer to a callback function that will be
called for each port that is registered in sysfs.  This allows
low-level device drivers to create files in

    /sys/class/infiniband/<hca>/ports/<N>/

without having to poke through the internals of the RDMA sysfs handling.

There is no need for an unregister function since the kobject
reference will go to zero when ib_unregister_device() is called.

Signed-off-by: Ralph Campbell <ralph.campbell@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
2010-05-21 10:34:44 -07:00
..
c2_ae.c
c2_ae.h
c2_alloc.c RDMA/amso1100: Use the dma state API instead of pci equivalents 2010-04-21 15:23:10 -07:00
c2_cm.c
c2_cq.c RDMA/amso1100: Use the dma state API instead of pci equivalents 2010-04-21 15:23:10 -07:00
c2_intr.c
c2_mm.c
c2_mq.c
c2_mq.h RDMA/amso1100: Use the dma state API instead of pci equivalents 2010-04-21 15:23:10 -07:00
c2_pd.c
c2_provider.c IB/core: Allow device-specific per-port sysfs files 2010-05-21 10:34:44 -07:00
c2_provider.h RDMA/amso1100: Use the dma state API instead of pci equivalents 2010-04-21 15:23:10 -07:00
c2_qp.c
c2_rnic.c RDMA/amso1100: Use the dma state API instead of pci equivalents 2010-04-21 15:23:10 -07:00
c2_status.h
c2_user.h
c2_vq.c
c2_vq.h
c2_wr.h
c2.c
c2.h RDMA/amso1100: Use the dma state API instead of pci equivalents 2010-04-21 15:23:10 -07:00
Kbuild
Kconfig