IB/mthca: Add modify_device method to set node description
authorRoland Dreier <rolandd@cisco.com>
Thu, 2 Feb 2006 18:04:19 +0000 (10:04 -0800)
committerRoland Dreier <rolandd@cisco.com>
Mon, 20 Mar 2006 18:08:10 +0000 (10:08 -0800)
commit6dfc3901b04d1b79fa982d6de6d5af3b50c6cea8
treef4918637c0d7c4b5c7fe4a4deb84e44ed3663dc6
parentc5bcbbb9fe00128d500c2f473d5ddc8d8c2c53a7
IB/mthca: Add modify_device method to set node description

Add a modify_device method to mthca, which implements setting the node
description.  This makes the writable "node_desc" sysfs attribute work
for Mellanox HCAs.

Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/mthca/mthca_mad.c
drivers/infiniband/hw/mthca/mthca_provider.c