9a6edb60ec
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> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
cxio_dbg.c | ||
cxio_hal.c | ||
cxio_hal.h | ||
cxio_resource.c | ||
cxio_resource.h | ||
cxio_wr.h | ||
iwch.c | ||
iwch.h | ||
iwch_cm.c | ||
iwch_cm.h | ||
iwch_cq.c | ||
iwch_ev.c | ||
iwch_mem.c | ||
iwch_provider.c | ||
iwch_provider.h | ||
iwch_qp.c | ||
iwch_user.h | ||
tcb.h |