Re: [PATCH][TRIVIAL] infiniband-diags/vendstat.c: Commentary change

2012-07-12 Thread Ira Weiny
On Thu, 12 Jul 2012 06:35:13 -0400
Hal Rosenstock  wrote:

> 
> Add device names to go along with device IDs
> 
> Signed-off-by: Hal Rosenstock 

Thanks applied,
Ira

> ---
> 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 */
>   {0x, 0x}};
>  
>  static int is_ext_fw_info_supported(uint16_t device_id) {


-- 
Ira Weiny
Member of Technical Staff
Lawrence Livermore National Lab
925-423-8008
wei...@llnl.gov
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[PATCH][TRIVIAL] infiniband-diags/vendstat.c: Commentary change

2012-07-12 Thread Hal Rosenstock

Add device names to go along with device IDs

Signed-off-by: Hal Rosenstock 
---
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 */
{0x, 0x}};
 
 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 majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html