summaryrefslogtreecommitdiffstats
path: root/drivers/block
diff options
context:
space:
mode:
authorSathya Perla <sathya.perla@emulex.com>2015-02-23 04:20:13 -0500
committerDavid S. Miller <davem@davemloft.net>2015-02-23 15:08:32 -0500
commit9fa465c0ce0d99f098195d7b0a550aeb1b2a8c44 (patch)
treea266390bada462938fbeffdf9adb1a066dcd6a00 /drivers/block
parentd0e1b319bbf345e8b8cc8bd7702cc6c33db074d9 (diff)
downloadlinux-9fa465c0ce0d99f098195d7b0a550aeb1b2a8c44.tar.bz2
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 'drivers/block')
0 files changed, 0 insertions, 0 deletions