diff options
author | Giridhar Malavali <giridhar.malavali@qlogic.com> | 2012-05-15 18:34:18 (GMT) |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-05-22 10:34:35 (GMT) |
commit | 6f606d24c6ef9a6d4485d1f10db6328ac733a7c5 (patch) | |
tree | 50a251089a2ddd98f06ec3573b2addfc2ea9f196 /drivers/scsi/qla2xxx/qla_attr.c | |
parent | 46270afe024209f700a45d9dee49df7a59fbf6b3 (diff) | |
download | linux-6f606d24c6ef9a6d4485d1f10db6328ac733a7c5.tar.xz |
[SCSI] qla2xxx: Display proper supported speeds for 16G FC adapters.
Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com>
Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_attr.c')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_attr.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_attr.c b/drivers/scsi/qla2xxx/qla_attr.c index 6464518..f8d7692 100644 --- a/drivers/scsi/qla2xxx/qla_attr.c +++ b/drivers/scsi/qla2xxx/qla_attr.c @@ -1956,6 +1956,9 @@ qla2x00_init_host_attr(scsi_qla_host_t *vha) if (IS_CNA_CAPABLE(ha)) speed = FC_PORTSPEED_10GBIT; + else if (IS_QLA2031(ha)) + speed = FC_PORTSPEED_16GBIT | FC_PORTSPEED_8GBIT | + FC_PORTSPEED_4GBIT; else if (IS_QLA25XX(ha)) speed = FC_PORTSPEED_8GBIT | FC_PORTSPEED_4GBIT | FC_PORTSPEED_2GBIT | FC_PORTSPEED_1GBIT; |