net/mlx4_core: Introduce ACCESS_REG CMD and eth_prot_ctrl dev cap
authorSaeed Mahameed <saeedm@mellanox.com>
Mon, 27 Oct 2014 09:37:37 +0000 (11:37 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 28 Oct 2014 21:18:00 +0000 (17:18 -0400)
commitadbc7ac5c15eb5e9d70393428345e72a1a897d6a
treeffd61c6e2196a0b5a59534198528a7204269a792
parent7202da8b7f7131d25411d81aa557e28cd941c5b6
net/mlx4_core: Introduce ACCESS_REG CMD and eth_prot_ctrl dev cap

Adding ACCESS REG mlx4 command and use it to implement Query method for
PTYS (Port Type and Speed Register).
Query and store eth_prot_ctrl dev cap.

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/cmd.c
drivers/net/ethernet/mellanox/mlx4/fw.c
include/linux/mlx4/cmd.h
include/linux/mlx4/device.h