diff options
author | Joachim Fenkes <fenkes@de.ibm.com> | 2007-04-24 17:44:31 +0200 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2007-04-24 21:30:38 -0700 |
commit | c4ed790dfd4b2182c76e0fcd79d4aa85ab02eccf (patch) | |
tree | 488e7a1b7130540536707bdef467617d14a76232 /drivers/infiniband/hw/ehca/ehca_main.c | |
parent | bd8031b49a9b05933fb1ec1c36620ed4e1e67793 (diff) | |
download | lwn-c4ed790dfd4b2182c76e0fcd79d4aa85ab02eccf.tar.gz lwn-c4ed790dfd4b2182c76e0fcd79d4aa85ab02eccf.zip |
IB/ehca: Implement modify_port
Add "Modify Port" verb support to eHCA driver. The IB communication
manager needs this to set the IsCM port capability bit when
initializing.
Signed-off-by: Joachim Fenkes <fenkes@de.ibm.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/ehca/ehca_main.c')
-rw-r--r-- | drivers/infiniband/hw/ehca/ehca_main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/ehca/ehca_main.c b/drivers/infiniband/hw/ehca/ehca_main.c index 059da9628bb5..3b23d677cb86 100644 --- a/drivers/infiniband/hw/ehca/ehca_main.c +++ b/drivers/infiniband/hw/ehca/ehca_main.c @@ -587,6 +587,7 @@ static int __devinit ehca_probe(struct ibmebus_dev *dev, ehca_gen_err("Cannot allocate shca memory."); return -ENOMEM; } + mutex_init(&shca->modify_mutex); shca->ibmebus_dev = dev; shca->ipz_hca_handle.handle = *handle; |