events: support multiple event handlers
authorshefty <shefty@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Wed, 23 Jul 2008 21:33:56 +0000 (21:33 +0000)
committershefty <shefty@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Wed, 23 Jul 2008 21:33:56 +0000 (21:33 +0000)
commit2eaaef90be98c850c28b8c2aae112196affbae59
tree8699a5b1adf8df6efba3be7dc6f52c6264757684
parent90fa81de16b56cda979b4c11c0baf5f1632dd42a
events: support multiple event handlers

Modify the channel interface to allow clients to register different
event handlers.  This is in addition to the event handler specified when
opening the channel adapter.  The latter can be replaced in a subsequent
patch, but is left as is to minimize changes.

This change allows the channel interface to support multiple direct
call clients, such as winverbs and ibal.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1443 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86
hw/mlx4/kernel/hca/ca.c
hw/mlx4/kernel/hca/data.c
hw/mlx4/kernel/hca/data.h
hw/mlx4/kernel/hca/drv.c
hw/mthca/kernel/hca_data.c
hw/mthca/kernel/hca_data.h
hw/mthca/kernel/hca_verbs.c
hw/mthca/kernel/mthca_main.c
inc/iba/ib_ci.h
inc/iba/ib_types.h