From 6f606d24c6ef9a6d4485d1f10db6328ac733a7c5 Mon Sep 17 00:00:00 2001 From: Giridhar Malavali Date: Tue, 15 May 2012 14:34:18 -0400 Subject: [PATCH] [SCSI] qla2xxx: Display proper supported speeds for 16G FC adapters. Signed-off-by: Giridhar Malavali Signed-off-by: Chad Dupuis Signed-off-by: James Bottomley --- drivers/scsi/qla2xxx/qla_attr.c | 3 +++ 1 file changed, 3 insertions(+) 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) 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; -- 2.30.2