From: Hal Rosenstock <hal-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
To: Ira Weiny <weiny2-i2BcT+NCU+M@public.gmane.org>
Cc: "linux-rdma
(linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org)"
<linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: [PATCH][TRIVIAL] infiniband-diags/vendstat.c: Commentary change
Date: Thu, 12 Jul 2012 06:35:13 -0400 [thread overview]
Message-ID: <4FFEA861.2060500@dev.mellanox.co.il> (raw)
Add device names to go along with device IDs
Signed-off-by: Hal Rosenstock <hal-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
---
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) {
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next reply other threads:[~2012-07-12 10:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-12 10:35 Hal Rosenstock [this message]
[not found] ` <4FFEA861.2060500-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
2012-07-12 23:58 ` [PATCH][TRIVIAL] infiniband-diags/vendstat.c: Commentary change Ira Weiny
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4FFEA861.2060500@dev.mellanox.co.il \
--to=hal-ldsdmyg8hgv8yrgs2mwiifqbs+8scbdb@public.gmane.org \
--cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=weiny2-i2BcT+NCU+M@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox