]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1c7ace7d56939d5eb68892f4fe9b6118eceb798a
tree9356666d4413cc1c9bb5743bb3690e4253555b82
parent3852fe10d896ef1a5fa04b858f941fc9b6481888
mlxsw: pci: Fix the FW ready mask length

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

Fixes: 02e4912f5e249 ("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