mlxsw: pci: Fix the FW ready mask length
authorElad Raz <eladr@mellanox.com>
Thu, 3 Nov 2016 08:41:55 +0000 (09:41 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Nov 2016 20:21:27 +0000 (16:21 -0400)
commit5e5f89e70b29153cb28011f0cc47984bfcc3bef4
tree9356666d4413cc1c9bb5743bb3690e4253555b82
parenta799126864986076e576d7bec549ae055eaa4490
mlxsw: pci: Fix the FW ready mask length

The system-status register is actually 16-bit wide and not 8 bit-wide.

Fixes: 233fa44bd67ae ("mlxsw: pci: Implement reset done check")
Signed-off-by: Elad Raz <eladr@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/pci_hw.h