mlxsw: Remove 56G speed support
authorAmit Cohen <amitc@mellanox.com>
Wed, 28 Aug 2019 15:54:34 +0000 (18:54 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 29 Aug 2019 01:24:04 +0000 (18:24 -0700)
commitb97cd891268de9ccc5454c189232c74f262961ae
tree3fb91569d3a269cd0f0b8124d1fe024f2262a654
parent95fb8bb3181bbe1ee87c95e91dff94f74f148c33
mlxsw: Remove 56G speed support

Commit 275e928f1911 ("mlxsw: spectrum: Prevent force of 56G") prevented
the driver from setting a speed of 56G when auto-negotiation is off.
This is the only speed supported by mlxsw that cannot be set when
auto-negotiation is off, which makes it difficult to write generic
tests.

Further, the speed is not supported by newer ASICs such as Spectrum-2
and to the best of our knowledge it is not used by current users.

Therefore, remove 56G support from mlxsw.

Signed-off-by: Amit Cohen <amitc@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/reg.h
drivers/net/ethernet/mellanox/mlxsw/spectrum.c
drivers/net/ethernet/mellanox/mlxsw/switchx2.c