mlxsw: spectrum: Prepare for multiple FW versions for Spectrum and Spectrum-2
authorJiri Pirko <jiri@mellanox.com>
Sun, 8 Jul 2018 20:51:26 +0000 (23:51 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 Jul 2018 23:24:17 +0000 (16:24 -0700)
commitabfd61825bdecd03249c833630b0f3c20efa7f26
tree8430e9f822a71a2c7f5c1f8ebdff7c7e642e3b97
parentea8b2e28aacfe8f36bacde944c04c5b909d0f364
mlxsw: spectrum: Prepare for multiple FW versions for Spectrum and Spectrum-2

Prepare for Spectrum-2 FW version checking and
make mlxsw_sp_fw_rev_validate() per-ASIC as well as required FW revision
and FW filename.

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