diff options
author | Jing Huang <huangj@brocade.com> | 2010-07-09 02:52:46 (GMT) |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-07-27 17:04:13 (GMT) |
commit | 3e98cc013fc4902df5f9d9defe1856df0f0cb657 (patch) | |
tree | c762bf9603074c2811118ffca90e3a69f35fb627 /drivers/scsi/bfa/bfa_fcs_lport.c | |
parent | 41188cf5a60a24bf54df5be70142f0928f413788 (diff) | |
download | linux-fsl-qoriq-3e98cc013fc4902df5f9d9defe1856df0f0cb657.tar.xz |
[SCSI] bfa: add PBC port disable handling
Add PBC port disable handling in BFA and return the appropriate status from
BFA APIs. In bfa_fcs_lport.c, handle OFFLINE event to avoid BFA_ASSERT.
Signed-off-by: Jing Huang <huangj@brocade.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/bfa/bfa_fcs_lport.c')
-rw-r--r-- | drivers/scsi/bfa/bfa_fcs_lport.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/scsi/bfa/bfa_fcs_lport.c b/drivers/scsi/bfa/bfa_fcs_lport.c index 7c1251c..35df20e 100644 --- a/drivers/scsi/bfa/bfa_fcs_lport.c +++ b/drivers/scsi/bfa/bfa_fcs_lport.c @@ -135,6 +135,9 @@ bfa_fcs_port_sm_init(struct bfa_fcs_port_s *port, enum bfa_fcs_port_event event) bfa_fcs_port_deleted(port); break; + case BFA_FCS_PORT_SM_OFFLINE: + break; + default: bfa_sm_fault(port->fcs, event); } |