[SCSI] bfa: Register port with SCSI even on port init failure
authorVijaya Mohan Guvva <vmohan@brocade.com>
Thu, 21 Nov 2013 09:37:33 +0000 (01:37 -0800)
committerJames Bottomley <JBottomley@Parallels.com>
Thu, 19 Dec 2013 15:39:05 +0000 (07:39 -0800)
commitda3e0bee18f7f36a63537219e18a03557a21a41b
tree87bda011f67d238682c07fe4af69877c6d897d5a
parent28d358d01e1d27c17b6448935693b28cb5624bbe
[SCSI] bfa: Register port with SCSI even on port init failure

This patch addresses the issue of port not being registered with SCSI
layer on bfa or firmware initialization failure and subsequently failure
in collecting driver traces for debugging port init failures. Also it
has minor changes related to bfad state machine clean up.

Signed-off-by: Vijaya Mohan Guvva <vmohan@brocade.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/bfa/bfad.c
drivers/scsi/bfa/bfad_drv.h