diff options
author | Krishna Gudipati <kgudipat@brocade.com> | 2010-03-06 06:38:17 +0300 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-03-07 10:42:04 +0300 |
commit | 25e2934c26f5efaea156c9fda4457d01a8bb44e1 (patch) | |
tree | 85329bd822e098c0a1b5fa1a29b4fc4fb4000f4d /drivers/scsi/bfa/fcbuild.h | |
parent | ca8b4327e405820966971236224db0e0724b5673 (diff) | |
download | linux-25e2934c26f5efaea156c9fda4457d01a8bb44e1.tar.xz |
[SCSI] bfa: FCS and include file changes.
MS module did not invoke fdmi offline in all cases,
call fdmi offline when ms module receives a port offline,
so that fdmi offline is from one place in the ms module.
Make changes to handle 10G speed in the conversion routine.
Replaced the usage of bfa_adapter_attr_s struct with specific API's.
Signed-off-by: Krishna Gudipati <kgudipat@brocade.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/bfa/fcbuild.h')
-rw-r--r-- | drivers/scsi/bfa/fcbuild.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/scsi/bfa/fcbuild.h b/drivers/scsi/bfa/fcbuild.h index 8fa7f270ef7b..981d98d542b9 100644 --- a/drivers/scsi/bfa/fcbuild.h +++ b/drivers/scsi/bfa/fcbuild.h @@ -72,6 +72,9 @@ fc_rpsc_operspeed_to_bfa_speed(enum fc_rpsc_op_speed_s speed) case RPSC_OP_SPEED_8G: return BFA_PPORT_SPEED_8GBPS; + case RPSC_OP_SPEED_10G: + return BFA_PPORT_SPEED_10GBPS; + default: return BFA_PPORT_SPEED_UNKNOWN; } @@ -97,6 +100,9 @@ fc_bfa_speed_to_rpsc_operspeed(enum bfa_pport_speed op_speed) case BFA_PPORT_SPEED_8GBPS: return RPSC_OP_SPEED_8G; + case BFA_PPORT_SPEED_10GBPS: + return RPSC_OP_SPEED_10G; + default: return RPSC_OP_SPEED_NOT_EST; } |