diff options
author | Derek Chickles <derek.chickles@cavium.com> | 2017-07-05 11:59:27 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-07-06 10:36:03 +0100 |
commit | 05a6b4cae8c0cc1680c9dd33a97a49a13c0f01bc (patch) | |
tree | 9f2f3ebff120b56a25965478cf7b1fadc7cfacfb /include/net | |
parent | 9b51f04424e17051a89ab32d892ca66b2a104825 (diff) | |
download | linux-05a6b4cae8c0cc1680c9dd33a97a49a13c0f01bc.tar.bz2 |
liquidio: fix bug in soft reset failure detection
The code that detects a failed soft reset of Octeon is comparing the wrong
value against the reset value of the Octeon SLI_SCRATCH_1 register,
resulting in an inability to detect a soft reset failure. Fix it by using
the correct value in the comparison, which is any non-zero value.
Fixes: f21fb3ed364b ("Add support of Cavium Liquidio ethernet adapters")
Fixes: c0eab5b3580a ("liquidio: CN23XX firmware download")
Signed-off-by: Derek Chickles <derek.chickles@cavium.com>
Signed-off-by: Satanand Burla <satananda.burla@cavium.com>
Signed-off-by: Raghu Vatsavayi <raghu.vatsavayi@cavium.com>
Signed-off-by: Felix Manlunas <felix.manlunas@cavium.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
0 files changed, 0 insertions, 0 deletions