From b5d9495c881fd5e8c14eeb0e3c3e8d7dc4bd73dc Mon Sep 17 00:00:00 2001 From: Jack Morgenstein Date: Wed, 4 Oct 2006 13:56:34 +0200 Subject: [PATCH] --- yaml --- r: 39205 b: refs/heads/master c: a8bf4e7717142b0688a726dd07501a6a7783792a h: refs/heads/master i: 39203: 1255a76fb6b52328ef717cffcf65e648db8c0737 v: v3 --- [refs] | 2 +- trunk/drivers/infiniband/hw/mthca/mthca_provider.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 70d2683a1389..e451cfef7021 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 01cb9bcbd34b7ba768a7f05375faf43becdb8a60 +refs/heads/master: a8bf4e7717142b0688a726dd07501a6a7783792a diff --git a/trunk/drivers/infiniband/hw/mthca/mthca_provider.c b/trunk/drivers/infiniband/hw/mthca/mthca_provider.c index 981fe2eebdfa..fc67f780581b 100644 --- a/trunk/drivers/infiniband/hw/mthca/mthca_provider.c +++ b/trunk/drivers/infiniband/hw/mthca/mthca_provider.c @@ -179,6 +179,8 @@ static int mthca_query_port(struct ib_device *ibdev, props->max_mtu = out_mad->data[41] & 0xf; props->active_mtu = out_mad->data[36] >> 4; props->subnet_timeout = out_mad->data[51] & 0x1f; + props->max_vl_num = out_mad->data[37] >> 4; + props->init_type_reply = out_mad->data[41] >> 4; out: kfree(in_mad);