]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4b1e84687daa14d14c12ae275cc50c000ffebf9c
tree1d08aade5af97e696d979a4e730c8a854e139a7d
parentc303dfe916cd49cbe16d7f8eaa667eb732c7a144
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