linux/drivers/infiniband/hw/cxgb4
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
..
cm.c MAINTAINERS: Add cxgb4 and iw_cxgb4 entries 2010-05-05 14:45:40 -07:00
cq.c
device.c
ev.c MAINTAINERS: Add cxgb4 and iw_cxgb4 entries 2010-05-05 14:45:40 -07:00
iw_cxgb4.h MAINTAINERS: Add cxgb4 and iw_cxgb4 entries 2010-05-05 14:45:40 -07:00
Kconfig
Makefile
mem.c
provider.c IB/core: Allow device-specific per-port sysfs files 2010-05-21 10:34:44 -07:00
qp.c MAINTAINERS: Add cxgb4 and iw_cxgb4 entries 2010-05-05 14:45:40 -07:00
resource.c
t4.h MAINTAINERS: Add cxgb4 and iw_cxgb4 entries 2010-05-05 14:45:40 -07:00
t4fw_ri_api.h
user.h