[SCSI] bfa: IOC fwtrace save logic & state machine fixes.
authorKrishna Gudipati <kgudipat@brocade.com>
Tue, 14 Dec 2010 00:16:09 +0000 (16:16 -0800)
committerJames Bottomley <James.Bottomley@suse.de>
Tue, 21 Dec 2010 18:37:11 +0000 (12:37 -0600)
commit4e78efefa3c083240bd47153ffa99642bfdc7811
tree22fc66e5ce15626437555a5574ca93323e8355a8
parentda99dcc98dd66a2de4864645bcafffd93cf5a62f
[SCSI] bfa: IOC fwtrace save logic & state machine fixes.

- Move fw trace save logic to bfa_ioc_sm_fail_entry(),
  so that fw trace is saved irrespective of the cause of the failure.
- Make bfa_ioc_sm_fail() a failure parking state.
- Rename bfa_ioc_sm_initfail() to a more appropriate bfa_ioc_sm_fail_retry()
  as it is no longer a parking state.

Signed-off-by: Krishna Gudipati <kgudipat@brocade.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/bfa/bfa_ioc.c