From patchwork Thu Jul 12 10:35:13 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hal Rosenstock X-Patchwork-Id: 1188321 X-Patchwork-Delegate: ira.weiny@intel.com Return-Path: X-Original-To: patchwork-linux-rdma@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id EE916E006C for ; Thu, 12 Jul 2012 10:35:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933691Ab2GLKfa (ORCPT ); Thu, 12 Jul 2012 06:35:30 -0400 Received: from mail-ey0-f174.google.com ([209.85.215.174]:59802 "EHLO mail-ey0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932983Ab2GLKf1 (ORCPT ); Thu, 12 Jul 2012 06:35:27 -0400 Received: by eaak11 with SMTP id k11so686210eaa.19 for ; Thu, 12 Jul 2012 03:35:24 -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=GfOdGZBJZAHyxtJKh/j2aXXw5WG6AdJa/yR0+qzC2L0=; b=SL37whiwHOBbzIuMrvG2Lb8yLvqrcUURjC0apVR2xYIRmvapr6hdHgaFpth23x8odA 38JQtKcHpgFo5zbndmF1f2AR8q7RGxpfEPoMHjTZsZbBNQY7Vv4GXfRC5j9GIgEJXNW5 z2yDAoLLHZehuv/7J2YcsztuaPYZWonyF4T0vloUNz3QbYwEbwvH1j2llf0acybJB0yT tVuWBW/g6Vwn4DZ+RzIhQXZ/kvg0y6Zp2XTPvqNN3lDEREIBrXxUANjVzl8ZOAIBPvn0 /4EHQTlgtrkY9xAVOXWKyit9a+p+zx39b0ZLjtvyNlvplChFJ42q6m0IirIwLsI4LDBM EQPQ== Received: by 10.14.127.8 with SMTP id c8mr12810016eei.148.1342089324090; Thu, 12 Jul 2012 03:35:24 -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 y54sm14186565eef.10.2012.07.12.03.35.21 (version=SSLv3 cipher=OTHER); Thu, 12 Jul 2012 03:35:23 -0700 (PDT) Message-ID: <4FFEA861.2060500@dev.mellanox.co.il> Date: Thu, 12 Jul 2012 06:35:13 -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: Ira Weiny CC: "linux-rdma (linux-rdma@vger.kernel.org)" Subject: [PATCH][TRIVIAL] infiniband-diags/vendstat.c: Commentary change X-Gm-Message-State: ALoCoQkwy+m+ny49NgEO+UHQawdVgDuaU5+ozG5dPdPPRsjW5lbotTBvkpQLYn2AiRpQOGRpG6N7 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org Add device names to go along with device IDs 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/src/vendstat.c b/src/vendstat.c index 1c493fa..8535792 100644 --- a/src/vendstat.c +++ b/src/vendstat.c @@ -142,10 +142,10 @@ typedef struct { } is4_config_counter_groups_t; static uint16_t ext_fw_info_device[][2] = { - {0x0245, 0x0245}, - {0xc738, 0xc738}, - {0x01b3, 0x01b3}, - {0x1003, 0x1011}, + {0x0245, 0x0245}, /* Switch-X */ + {0xc738, 0xc738}, /* Switch-X */ + {0x01b3, 0x01b3}, /* IS-4 */ + {0x1003, 0x1011}, /* Connect-X */ {0x0000, 0x0000}}; static int is_ext_fw_info_supported(uint16_t device_id) {