diff options
author | Emil Tantilov <[email protected]> | 2017-07-05 15:57:30 -0700 |
---|---|---|
committer | Jeff Kirsher <[email protected]> | 2017-10-09 09:28:23 -0700 |
commit | 2e22a75c55c1e70f36e21d4fa4e165af7f356aa9 (patch) | |
tree | 42e026e4e9c291b2374788fd19be82fee5a9d672 /lib/test-string_helpers.c | |
parent | c49c777f9c87749b73bc888f097f8a4178382449 (diff) |
ixgbe: Clear SWFW_SYNC register during init
Added clearing of SW resource bits in the SW/FW synchronization
register to ixgbe_init_swfw_sync_X540().
Updated ixgbe_acquire_swfw_sync_X540 SW Manageability host interface
resource bit error case to match the error handling of the other SW
resource bits. Which is to release the SW resource bits if SW times
out while attempting to acquire the resource.
This allows the driver to load in cases where the semaphore bits
could be stuck after a reset or a crash.
Signed-off-by: Emil Tantilov <[email protected]>
Tested-by: Andrew Bowers <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions