OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12bbb2b
)
IB/ipath: Add client reregister event generation
author
Roland Dreier
<rolandd@cisco.com>
Sun, 18 Jun 2006 03:37:37 +0000
(20:37 -0700)
committer
Roland Dreier
<rolandd@cisco.com>
Sun, 18 Jun 2006 03:37:37 +0000
(20:37 -0700)
Generate a client reregister event instead of a LID change event when
client reregister bit is set.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ipath/ipath_mad.c
patch
|
blob
|
history
diff --git
a/drivers/infiniband/hw/ipath/ipath_mad.c
b/drivers/infiniband/hw/ipath/ipath_mad.c
index
49acd1e
..
1a9d0a2
100644
(file)
--- a/
drivers/infiniband/hw/ipath/ipath_mad.c
+++ b/
drivers/infiniband/hw/ipath/ipath_mad.c
@@
-409,7
+409,7
@@
static int recv_subn_set_portinfo(struct ib_smp *smp,
if (pip->clientrereg_resv_subnetto & 0x80) {
clientrereg = 1;
- event.event = IB_EVENT_
LID_CHANGE
;
+ event.event = IB_EVENT_
CLIENT_REREGISTER
;
ib_dispatch_event(&event);
}