IB: Add devnode methods to cm_class and umad_class
authorRoland Dreier <roland@purestorage.com>
Mon, 23 May 2011 18:21:47 +0000 (11:21 -0700)
committerRoland Dreier <roland@purestorage.com>
Mon, 23 May 2011 18:24:28 +0000 (11:24 -0700)
commit861f56285a5dc4e04c6098e47e8175ff49b14af6
tree13552e10c7b36da435d4aa950a9a569e561f3dff
parent790654f0b031a74ea1e868ebef6b41a555bbb7df
IB: Add devnode methods to cm_class and umad_class

We want the ucmX, umadX and issmX device nodes to show up under
/dev/infiniband, and additionally ucmX should have mode 0666.  Add
appropriate devnode methods to their class structs for this.

Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/core/cm.c
drivers/infiniband/core/user_mad.c