diff options
author | Vijaya Mohan Guvva <vmohan@brocade.com> | 2013-11-21 09:37:33 (GMT) |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2013-12-19 15:39:05 (GMT) |
commit | da3e0bee18f7f36a63537219e18a03557a21a41b (patch) | |
tree | 87bda011f67d238682c07fe4af69877c6d897d5a /drivers/scsi/bfa/bfad_drv.h | |
parent | 28d358d01e1d27c17b6448935693b28cb5624bbe (diff) | |
download | linux-da3e0bee18f7f36a63537219e18a03557a21a41b.tar.xz |
[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 78d3401..cf56d3d 100644 --- a/drivers/scsi/bfa/bfad_drv.h +++ b/drivers/scsi/bfa/bfad_drv.h @@ -240,8 +240,8 @@ enum bfad_sm_event { BFAD_E_KTHREAD_CREATE_FAILED = 2, BFAD_E_INIT = 3, BFAD_E_INIT_SUCCESS = 4, - BFAD_E_INIT_FAILED = 5, - BFAD_E_INTR_INIT_FAILED = 6, + BFAD_E_HAL_INIT_FAILED = 5, + BFAD_E_INIT_FAILED = 6, BFAD_E_FCS_EXIT_COMP = 7, BFAD_E_EXIT_COMP = 8, BFAD_E_STOP = 9 |