mlxsw: spectrum: Add support for port identification
authorIdo Schimmel <idosch@mellanox.com>
Fri, 27 Nov 2015 12:45:55 +0000 (13:45 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 30 Nov 2015 20:05:40 +0000 (15:05 -0500)
commit3a66ee38dcde2e7befcd1563151615644a560072
tree1d08aade5af97e696d979a4e730c8a854e139a7d
parent3161c1590049a10879557c7864eaf5ab7ac103ee
mlxsw: spectrum: Add support for port identification

Allow a user to flash the port's LED in order to identify it. This is
achieved by setting the Management LED Control Register (MLCR).

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum.c