[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>
This commit is contained in:
parent
46270afe02
commit
6f606d24c6
|
@ -1956,6 +1956,9 @@ qla2x00_init_host_attr(scsi_qla_host_t *vha)
|
||||||
|
|
||||||
if (IS_CNA_CAPABLE(ha))
|
if (IS_CNA_CAPABLE(ha))
|
||||||
speed = FC_PORTSPEED_10GBIT;
|
speed = FC_PORTSPEED_10GBIT;
|
||||||
|
else if (IS_QLA2031(ha))
|
||||||
|
speed = FC_PORTSPEED_16GBIT | FC_PORTSPEED_8GBIT |
|
||||||
|
FC_PORTSPEED_4GBIT;
|
||||||
else if (IS_QLA25XX(ha))
|
else if (IS_QLA25XX(ha))
|
||||||
speed = FC_PORTSPEED_8GBIT | FC_PORTSPEED_4GBIT |
|
speed = FC_PORTSPEED_8GBIT | FC_PORTSPEED_4GBIT |
|
||||||
FC_PORTSPEED_2GBIT | FC_PORTSPEED_1GBIT;
|
FC_PORTSPEED_2GBIT | FC_PORTSPEED_1GBIT;
|
||||||
|
|
Loading…
Reference in New Issue