[PATCH] IB/mthca: Report correct max_msg_sz
authorRoland Dreier <roland@eddore.topspincom.com>
Thu, 18 Aug 2005 19:14:11 +0000 (12:14 -0700)
committerRoland Dreier <rolandd@cisco.com>
Sat, 27 Aug 2005 03:37:36 +0000 (20:37 -0700)
commitd1887ec2125988adccbd8bf0de638c41440bf80e
tree418a4b95defa44fce5d52688e29265ded4d1a6d0
parentda6561c285a6e28a075b97fd5a1560a2b0ce843e
[PATCH] IB/mthca: Report correct max_msg_sz

Set the max_msg_sz port property correctly in mthca's port_query
function.  Also zero out the attr struct so that we don't leave
any other members uninitialized.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/mthca/mthca_provider.c