summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/bfa/fcs_rport.h
diff options
context:
space:
mode:
authorJing Huang <huangj@brocade.com>2010-07-08 19:55:41 -0700
committerJames Bottomley <James.Bottomley@suse.de>2010-07-27 12:04:16 -0500
commit4b5e759dca9fb26d921c1267283350004dbf197b (patch)
treeef814001eb92a30b79d5a828c0f056ed61e13b26 /drivers/scsi/bfa/fcs_rport.h
parentdf2a52a6c8c4995e0bec0b739ddb2f51664837dd (diff)
[SCSI] bfa: fix uf post and rport fcpim state machine
BFA UF module did not hold lock when seding uf post buffer message to firmware causing CPE-Q corruption. Fix is to check present of FCS and if FCS present hold lock while posting UF buffers. Handle PRLO with sending acc to it and relogin with rport. Discard fcxp before any state change. Signed-off-by: Jing Huang <huangj@brocade.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/bfa/fcs_rport.h')
-rw-r--r--drivers/scsi/bfa/fcs_rport.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/bfa/fcs_rport.h b/drivers/scsi/bfa/fcs_rport.h
index 5242ee0f03c..e634fb7a69b 100644
--- a/drivers/scsi/bfa/fcs_rport.h
+++ b/drivers/scsi/bfa/fcs_rport.h
@@ -43,6 +43,7 @@ void bfa_fcs_rport_plogi_create(struct bfa_fcs_port_s *port,
void bfa_fcs_rport_plogi(struct bfa_fcs_rport_s *rport, struct fchs_s *fchs,
struct fc_logi_s *plogi);
void bfa_fcs_rport_logo_imp(struct bfa_fcs_rport_s *rport);
+void bfa_fcs_rport_prlo(struct bfa_fcs_rport_s *rport, uint16_t ox_id);
void bfa_fcs_rport_itnim_ack(struct bfa_fcs_rport_s *rport);
void bfa_fcs_rport_itntm_ack(struct bfa_fcs_rport_s *rport);
void bfa_fcs_rport_tin_ack(struct bfa_fcs_rport_s *rport);