net/mlx4_core: Introduce mlx4_get_module_info for cable module info reading
authorSaeed Mahameed <saeedm@mellanox.com>
Mon, 27 Oct 2014 09:37:35 +0000 (11:37 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 28 Oct 2014 21:17:59 +0000 (17:17 -0400)
commit32a173c7f9e9ec2b87142f67e1478cd20084a45b
tree3464627af9e7001470aff187ecc9155ccf2e18a9
parent941d8ebcf773fd5da5c79e1c86e1afaae7032a0b
net/mlx4_core: Introduce mlx4_get_module_info for cable module info reading

Added new MAD_IFC command to read cable module info with attribute id (0xFF60).
Update include/linux/mlx4/device.h with function declaration (mlx4_get_module_info)
and the needed defines/enums for future use.

Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: Amir Vadai <amirv@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/port.c
include/linux/mlx4/device.h