projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46270af
)
[SCSI] qla2xxx: Display proper supported speeds for 16G FC adapters.
author
Giridhar Malavali
<
[email protected]
>
Tue, 15 May 2012 18:34:18 +0000
(14:34 -0400)
committer
James Bottomley
<
[email protected]
>
Tue, 22 May 2012 10:34:35 +0000
(11:34 +0100)
Signed-off-by: Giridhar Malavali <
[email protected]
>
Signed-off-by: Chad Dupuis <
[email protected]
>
Signed-off-by: James Bottomley <
[email protected]
>
drivers/scsi/qla2xxx/qla_attr.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/qla2xxx/qla_attr.c
b/drivers/scsi/qla2xxx/qla_attr.c
index 64645180b717f66c2db75039b04b734619ffc090..f8d7692851fa18c0be909d1bbd65575e7c70394b 100644
(file)
--- 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;