IB/ipath: Add ability to set the LMC via the sysfs debugging interface
authorRalph Campbell <ralph.campbell@qlogic.com>
Wed, 12 Sep 2007 22:00:58 +0000 (15:00 -0700)
committerRoland Dreier <rolandd@cisco.com>
Wed, 10 Oct 2007 03:53:50 +0000 (20:53 -0700)
commit15cba26f42c13ca30cbb4388f132ac0ddf4df538
treee1b0d4efd1078987c7416642aeaddb694bf4aa90
parent6cff2faaf135b602c914710f3414630c3fc1ee83
IB/ipath: Add ability to set the LMC via the sysfs debugging interface

This patch adds the ability to set the LMC via a sysfs file as if the SM
sent a SubnSet(PortInfo) MAD.  It is useful for debugging when no SM is
running.

Signed-off-by: Ralph Campbell <ralph.campbell@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ipath/ipath_sysfs.c