aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/bfa/fabric.c
diff options
context:
space:
mode:
authorKrishna Gudipati <kgudipat@brocade.com>2010-03-05 22:36:00 -0500
committerJames Bottomley <James.Bottomley@suse.de>2010-03-07 02:28:41 -0500
commitf926a05f5c1507aeae0e36175a03c0a19c201187 (patch)
treec345e6caf5e30c3acf04b119bfa78d10f36a94bd /drivers/scsi/bfa/fabric.c
parent7af074dc9d343f69bab4bfd699e6d7ba09915fd9 (diff)
[SCSI] bfa: FCS authentication related changes.
Made FCS authentication related changes to state machines and header files. Made changes in FCS state machines to handle the case when secret string is NULL. Signed-off-by: Krishna Gudipati <kgudipat@brocade.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/bfa/fabric.c')
-rw-r--r--drivers/scsi/bfa/fabric.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/scsi/bfa/fabric.c b/drivers/scsi/bfa/fabric.c
index 20a686a420a2..b02ed7653eb6 100644
--- a/drivers/scsi/bfa/fabric.c
+++ b/drivers/scsi/bfa/fabric.c
@@ -895,6 +895,12 @@ bfa_fcs_fabric_is_loopback(struct bfa_fcs_fabric_s *fabric)
895 return bfa_sm_cmp_state(fabric, bfa_fcs_fabric_sm_loopback); 895 return bfa_sm_cmp_state(fabric, bfa_fcs_fabric_sm_loopback);
896} 896}
897 897
898bfa_boolean_t
899bfa_fcs_fabric_is_auth_failed(struct bfa_fcs_fabric_s *fabric)
900{
901 return bfa_sm_cmp_state(fabric, bfa_fcs_fabric_sm_auth_failed);
902}
903
898enum bfa_pport_type 904enum bfa_pport_type
899bfa_fcs_fabric_port_type(struct bfa_fcs_fabric_s *fabric) 905bfa_fcs_fabric_port_type(struct bfa_fcs_fabric_s *fabric)
900{ 906{