diff options
author | Vijaya Mohan Guvva <vmohan@brocade.com> | 2013-11-21 04:37:33 -0500 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2013-12-19 10:39:05 -0500 |
commit | da3e0bee18f7f36a63537219e18a03557a21a41b (patch) | |
tree | 87bda011f67d238682c07fe4af69877c6d897d5a /drivers/scsi/bfa/bfad_drv.h | |
parent | 28d358d01e1d27c17b6448935693b28cb5624bbe (diff) |
[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>
Diffstat (limited to 'drivers/scsi/bfa/bfad_drv.h')
-rw-r--r-- | drivers/scsi/bfa/bfad_drv.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/bfa/bfad_drv.h b/drivers/scsi/bfa/bfad_drv.h index 78d3401bc16b..cf56d3d1dc8a 100644 --- a/drivers/scsi/bfa/bfad_drv.h +++ b/drivers/scsi/bfa/bfad_drv.h | |||
@@ -240,8 +240,8 @@ enum bfad_sm_event { | |||
240 | BFAD_E_KTHREAD_CREATE_FAILED = 2, | 240 | BFAD_E_KTHREAD_CREATE_FAILED = 2, |
241 | BFAD_E_INIT = 3, | 241 | BFAD_E_INIT = 3, |
242 | BFAD_E_INIT_SUCCESS = 4, | 242 | BFAD_E_INIT_SUCCESS = 4, |
243 | BFAD_E_INIT_FAILED = 5, | 243 | BFAD_E_HAL_INIT_FAILED = 5, |
244 | BFAD_E_INTR_INIT_FAILED = 6, | 244 | BFAD_E_INIT_FAILED = 6, |
245 | BFAD_E_FCS_EXIT_COMP = 7, | 245 | BFAD_E_FCS_EXIT_COMP = 7, |
246 | BFAD_E_EXIT_COMP = 8, | 246 | BFAD_E_EXIT_COMP = 8, |
247 | BFAD_E_STOP = 9 | 247 | BFAD_E_STOP = 9 |