Re: [PATCH][TRIVIAL] infiniband-diags/vendstat.c: Commentary change
From: Ira Weiny <hidden>
Date: 2012-07-12 23:58:55
On Thu, 12 Jul 2012 06:35:13 -0400 Hal Rosenstock [off-list ref] wrote:
Add device names to go along with device IDs Signed-off-by: Hal Rosenstock <hal-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
Thanks applied, Ira
quoted hunk
---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) {
-- Ira Weiny Member of Technical Staff Lawrence Livermore National Lab 925-423-8008 weiny2-i2BcT+NCU+M@public.gmane.org -- 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