net/mlx5e: Add field select to MTPPS register
authorEugenia Emantayev <eugenia@mellanox.com>
Thu, 25 May 2017 13:09:34 +0000 (16:09 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 27 Jul 2017 13:40:17 +0000 (16:40 +0300)
commitfa3676885e3b5be1edfa1b2cc775e20a45b34a19
tree9e53f1e437573eaef9c9304b74f34d6602d70a18
parent0b794ffae7afa7c4e5accac8791c4b78e8d080ce
net/mlx5e: Add field select to MTPPS register

In order to mark relevant fields while setting the MTPPS register
add field select. Otherwise it can cause a misconfiguration in
firmware.

Fixes: ee7f12205abc ('net/mlx5e: Implement 1PPS support')
Signed-off-by: Eugenia Emantayev <eugenia@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_clock.c
drivers/net/ethernet/mellanox/mlx5/core/eq.c
drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.h
include/linux/mlx5/mlx5_ifc.h