diff options
author | Jing Huang <huangj@brocade.com> | 2010-07-08 19:52:46 -0700 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-07-27 12:04:13 -0500 |
commit | 3e98cc013fc4902df5f9d9defe1856df0f0cb657 (patch) | |
tree | c762bf9603074c2811118ffca90e3a69f35fb627 /drivers/scsi/bfa/bfa_fcs_lport.c | |
parent | 41188cf5a60a24bf54df5be70142f0928f413788 (diff) | |
download | talos-obmc-linux-3e98cc013fc4902df5f9d9defe1856df0f0cb657.tar.gz talos-obmc-linux-3e98cc013fc4902df5f9d9defe1856df0f0cb657.zip |
[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 7c1251c682d8..35df20e68a52 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); } |