RE: [PATCH infiniband-diags] Add latest new device IDs to device white lists

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 
> Signed-off-by: Hal Rosenstock <hal@xxxxxxxxxxxx>

Thanks applied,
Ira


> ---
>  libibnetdisc/src/ibnetdisc.c | 6 ++++--
>  src/ibdiag_common.c          | 6 ++++--
>  src/vendstat.c               | 3 ++-
>  3 files changed, 10 insertions(+), 5 deletions(-)
> 
> diff --git a/libibnetdisc/src/ibnetdisc.c b/libibnetdisc/src/ibnetdisc.c index
> 26bd09a..05f1dc9 100644
> --- a/libibnetdisc/src/ibnetdisc.c
> +++ b/libibnetdisc/src/ibnetdisc.c
> @@ -198,7 +198,9 @@ static int
> is_mlnx_ext_port_info_supported(ibnd_port_t * port)
>  	uint16_t devid = (uint16_t) mad_get_field(port->node->info, 0,
> IB_NODE_DEVID_F);
>  	uint32_t vendorid = (uint32_t) mad_get_field(port->node->info, 0,
> IB_NODE_VENDORID_F);
> 
> -	if ((devid >= 0xc738 && devid <= 0xc73b) || devid == 0xcb20 || devid
> == 0xcf08 ||
> +	if ((devid >= 0xc738 && devid <= 0xc73b) ||
> +	    devid == 0xc839 || devid == 0xcb20 || devid == 0xcf08 ||
> +	    devid == 0xcf09 || devid == 0xd2f0 ||
>  	    ((vendorid == 0x119f) &&
>  	     /* Bull SwitchX */
>  	     (devid == 0x1b02 || devid == 0x1b50 || @@ -206,7 +208,7 @@
> static int is_mlnx_ext_port_info_supported(ibnd_port_t * port)
>  	      devid == 0x1ba0 ||
>  	      (devid >= 0x1bd0 && devid <= 0x1bd5))))
>  		return 1;
> -	if ((devid >= 0x1003 && devid <= 0x1019) ||
> +	if ((devid >= 0x1003 && devid <= 0x101b) ||
>  	    ((vendorid == 0x119f) &&
>  	     /* Bull ConnectX3 */
>  	     (devid == 0x1b33 || devid == 0x1b73 || diff --git
> a/src/ibdiag_common.c b/src/ibdiag_common.c index a57a04b..41b749c
> 100644
> --- a/src/ibdiag_common.c
> +++ b/src/ibdiag_common.c
> @@ -542,7 +542,9 @@ int is_mlnx_ext_port_info_supported(uint32_t
> vendorid,  {
>  	if (ibd_ibnetdisc_flags & IBND_CONFIG_MLX_EPI) {
> 
> -		if ((devid >= 0xc738 && devid <= 0xc73b) || devid == 0xcb20
> || devid == 0xcf08 ||
> +		if ((devid >= 0xc738 && devid <= 0xc73b) ||
> +		    devid == 0xc839 || devid == 0xcb20 || devid == 0xcf08 ||
> +		    devid == 0xcf09 || devid == 0xd2f0 ||
>  		    ((vendorid == 0x119f) &&
>  		     /* Bull SwitchX */
>  		     (devid == 0x1b02 || devid == 0x1b50 || @@ -550,7 +552,7
> @@ int is_mlnx_ext_port_info_supported(uint32_t vendorid,
>  		      devid == 0x1ba0 ||
>  		      (devid >= 0x1bd0 && devid <= 0x1bd5))))
>  			return 1;
> -		if ((devid >= 0x1003 && devid <= 0x1019) ||
> +		if ((devid >= 0x1003 && devid <= 0x101b) ||
>  		    ((vendorid == 0x119f) &&
>  		     /* Bull ConnectX3 */
>  		     (devid == 0x1b33 || devid == 0x1b73 || diff --git
> a/src/vendstat.c b/src/vendstat.c index f3b3d42..5a3af21 100644
> --- a/src/vendstat.c
> +++ b/src/vendstat.c
> @@ -147,8 +147,9 @@ static uint16_t ext_fw_info_device[][2] = {
>  	{0xc738, 0xc73b},	/* Switch-X */
>  	{0xcb20, 0xcb20},	/* Switch-IB */
>  	{0xcf08, 0xcf08},	/* Switch-IB2 */
> +	{0xd2f0, 0xd2f0},	/* Quantum */
>  	{0x01b3, 0x01b3},	/* IS-4 */
> -	{0x1003, 0x1019},	/* Connect-X */
> +	{0x1003, 0x101b},	/* Connect-X */
>  	{0x1b02, 0x1b02},	/* Bull SwitchX */
>  	{0x1b50, 0x1b50},	/* Bull SwitchX */
>  	{0x1ba0, 0x1ba0},	/* Bull SwitchIB */
> --
> 2.8.4

��.n��������+%������w��{.n�����{���fk��ܨ}���Ơz�j:+v�����w����ޙ��&�)ߡ�a����z�ޗ���ݢj��w�f




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux