diff options
author | Giridhar Malavali <giridhar.malavali@qlogic.com> | 2012-05-15 14:34:18 -0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-05-22 06:34:35 -0400 |
commit | 6f606d24c6ef9a6d4485d1f10db6328ac733a7c5 (patch) | |
tree | 50a251089a2ddd98f06ec3573b2addfc2ea9f196 /drivers/scsi/qla2xxx | |
parent | 46270afe024209f700a45d9dee49df7a59fbf6b3 (diff) |
[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')
-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 64645180b717..f8d7692851fa 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) | |||
1956 | 1956 | ||
1957 | if (IS_CNA_CAPABLE(ha)) | 1957 | if (IS_CNA_CAPABLE(ha)) |
1958 | speed = FC_PORTSPEED_10GBIT; | 1958 | speed = FC_PORTSPEED_10GBIT; |
1959 | else if (IS_QLA2031(ha)) | ||
1960 | speed = FC_PORTSPEED_16GBIT | FC_PORTSPEED_8GBIT | | ||
1961 | FC_PORTSPEED_4GBIT; | ||
1959 | else if (IS_QLA25XX(ha)) | 1962 | else if (IS_QLA25XX(ha)) |
1960 | speed = FC_PORTSPEED_8GBIT | FC_PORTSPEED_4GBIT | | 1963 | speed = FC_PORTSPEED_8GBIT | FC_PORTSPEED_4GBIT | |
1961 | FC_PORTSPEED_2GBIT | FC_PORTSPEED_1GBIT; | 1964 | FC_PORTSPEED_2GBIT | FC_PORTSPEED_1GBIT; |