diff options
author | Felix Manlunas <felix.manlunas@cavium.com> | 2017-08-22 12:46:37 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-08-23 20:29:24 -0700 |
commit | b28547728d4fd42a004df2b662724e16ff778db6 (patch) | |
tree | 54047681512d9d6b89940a5ae17d608dc9048d2a /samples | |
parent | e3d0328c76dde0b957f62f8c407b79f1d8fe3ef8 (diff) | |
download | linux-b28547728d4fd42a004df2b662724e16ff778db6.tar.bz2 |
liquidio: change manner of detecting whether or not NIC firmware is loaded
In the NIC firmware, the 1-bit flag indicating "firmware is loaded" moved
from SLI_SCRATCH_1 to SLI_SCRATCH_2 (these are Octeon general-purpose
scratch registers). Make the PF driver conform to this change.
Remove code that sets the "firmware is loaded" flag because it's now the
firmware's job to do that.
In the code that detects whether or not the firmware is loaded, don't just
rely on checking the "firmware is loaded" flag because that may cause a
rare false negative. Add code that deduces whether or not the firmware is
loaded; that will never give a false negative.
Also bump up driver version to match newer NIC firmware.
Signed-off-by: Felix Manlunas <felix.manlunas@cavium.com>
Signed-off-by: Derek Chickles <derek.chickles@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions