From patchwork Sun Jul 8 15:43:21 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hal Rosenstock X-Patchwork-Id: 1169751 X-Patchwork-Delegate: alexne@voltaire.com Return-Path: X-Original-To: patchwork-linux-rdma@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 44C9140134 for ; Sun, 8 Jul 2012 15:43:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752020Ab2GHPne (ORCPT ); Sun, 8 Jul 2012 11:43:34 -0400 Received: from mail-bk0-f46.google.com ([209.85.214.46]:52647 "EHLO mail-bk0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751908Ab2GHPn0 (ORCPT ); Sun, 8 Jul 2012 11:43:26 -0400 Received: by mail-bk0-f46.google.com with SMTP id j10so5420528bkw.19 for ; Sun, 08 Jul 2012 08:43:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :content-type:content-transfer-encoding:x-gm-message-state; bh=1AoJfNpT4wRC1aqkPkAgYYa6Pv+2MYH73K17YVmj7vo=; b=IG74fXQVGTlBMOt/mtiKT0iwEZ9y1TTGbyGCZfDfaU1FPkzeH640lyyhBcR7ZLzf5A oF2j6qqX56PvnMaZiZMxvz860Er5RF+R0czx6E+9nC/R4ABKw2JwuiEn07qF3UOUxYnu 0cyX1SHdOR7dWlWfEExZxttU4k3vBICsSw3kqFiiknMr07IBmEQ/m6OOulHwuoyN3B5Y 1XsnIVLRljtZNfPlykIFNuAzKTxJES9khJfqTXFxoJZqcCQ4z7MCTb7Iyeiipl6bOlQK FkFoWYfTozSTtxmERbqHpx5qaGhjbuVElMu82ACEE7jDuFrkcdYwoZzmmg5hOAP+7qy+ 6b6g== Received: by 10.204.157.151 with SMTP id b23mr17914020bkx.44.1341762205153; Sun, 08 Jul 2012 08:43:25 -0700 (PDT) Received: from [192.168.1.102] (c-71-192-10-85.hsd1.ma.comcast.net. [71.192.10.85]) by mx.google.com with ESMTPS id 14sm332278bkq.12.2012.07.08.08.43.23 (version=SSLv3 cipher=OTHER); Sun, 08 Jul 2012 08:43:24 -0700 (PDT) Message-ID: <4FF9AA99.1060909@dev.mellanox.co.il> Date: Sun, 08 Jul 2012 11:43:21 -0400 From: Hal Rosenstock User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 MIME-Version: 1.0 To: Alex Netes CC: "linux-rdma (linux-rdma@vger.kernel.org)" Subject: [PATCH] opensm/osm_subnet.c: Support MLNX ExtendedPortInfo for ConnectIB device X-Gm-Message-State: ALoCoQlS78nsXZpmWvcDsGwOZCrgIcgI6kVV7fVjrFWFL0ExLutN96l9CIk5yLP8pbpyyn+g3ftV Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org Signed-off-by: Hal Rosenstock --- -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/opensm/osm_subnet.c b/opensm/osm_subnet.c index 46b82f1..1365e93 100644 --- a/opensm/osm_subnet.c +++ b/opensm/osm_subnet.c @@ -801,7 +801,7 @@ int is_mlnx_ext_port_info_supported(ib_net16_t devid) devid_ho = cl_ntoh16(devid); if (devid_ho == 0xc738) return 1; - if (devid_ho >= 0x1003 && devid_ho <= 0x1010) + if (devid_ho >= 0x1003 && devid_ho <= 0x1011) return 1; return 0; }