summaryrefslogtreecommitdiff
path: root/drivers/sh/maple
diff options
context:
space:
mode:
authorVadim Pasternak <vadimp@mellanox.com>2019-10-06 09:34:52 +0300
committerDavid S. Miller <davem@davemloft.net>2019-10-06 19:31:39 +0300
commit6935af8073a02ffd11a7e495dc318c0a51e18012 (patch)
treee130e8911218f211732a35b3d73d5446b43e74c4 /drivers/sh/maple
parent762effaad63edca1d927bd6c98f21b870ee3f2a5 (diff)
downloadlinux-6935af8073a02ffd11a7e495dc318c0a51e18012.tar.xz
mlxsw: minimal: Add validation for FW version
Add validation for FW version in order to prevent driver initialization in case FW version is older than expected. FW version validation is necessary, because use of a new field 'num_of_modules' in MGPIR register is not backward compatible. FW 'minor' and 'subminor' versions are expected to be greater than or equal to 2000 and 1886, respectively. Signed-off-by: Vadim Pasternak <vadimp@mellanox.com> Acked-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/sh/maple')
0 files changed, 0 insertions, 0 deletions