diff options
author | 2015-02-23 04:20:13 -0500 | |
---|---|---|
committer | 2015-02-23 15:08:32 -0500 | |
commit | 9fa465c0ce0d99f098195d7b0a550aeb1b2a8c44 (patch) | |
tree | a266390bada462938fbeffdf9adb1a066dcd6a00 /tools/perf/scripts/python/syscall-counts.py | |
parent | be2net: refactor error detect/recovery function (diff) | |
download | wireguard-linux-9fa465c0ce0d99f098195d7b0a550aeb1b2a8c44.tar.xz wireguard-linux-9fa465c0ce0d99f098195d7b0a550aeb1b2a8c44.zip |
be2net: remove code duplication relating to Lancer reset sequence
The steps needed for Lancer's reset/initialization sequence are:
a) wait for SLIPORT_STAUS RDY bit to be set
b) set the SLIPORT_CONTROL IP bit
c) repeat step "a"
The code needed for this sequence is already covered by the be_func_init()
routine (with minor modifications.) So, get rid of the
lancer_test_and_set_rdy_state() and lancer_provisioning_error() routines
that unnecessarily duplicate this code. Also fixed the error recovery
function to take care of these changes
Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: Kalesh AP <kalesh.purayil@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions