diff options
author | James Smart <James.Smart@Emulex.Com> | 2007-04-25 09:53:28 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2007-05-06 10:33:16 -0400 |
commit | b87eab38be141c16026cb830064d661ca705ad23 (patch) | |
tree | 28b32f1745316291dc17ecc16430adce696656fa /drivers/scsi/lpfc/lpfc_attr.c | |
parent | 47a8617c7df6cc8b8617a3deb5a36bbae1997d13 (diff) |
[SCSI] lpfc 8.1.12 : Added support for 8G speed and new HBAs
Added support for 8G speed and new HBAs.
Signed-off-by: James Smart <James.Smart@emulex.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_attr.c')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_attr.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/scsi/lpfc/lpfc_attr.c b/drivers/scsi/lpfc/lpfc_attr.c index 2605bd3502a9..4d547b3177fd 100644 --- a/drivers/scsi/lpfc/lpfc_attr.c +++ b/drivers/scsi/lpfc/lpfc_attr.c | |||
@@ -985,9 +985,10 @@ LPFC_ATTR_RW(topology, 0, 0, 6, "Select Fibre Channel topology"); | |||
985 | # 1 = 1 Gigabaud | 985 | # 1 = 1 Gigabaud |
986 | # 2 = 2 Gigabaud | 986 | # 2 = 2 Gigabaud |
987 | # 4 = 4 Gigabaud | 987 | # 4 = 4 Gigabaud |
988 | # Value range is [0,4]. Default value is 0. | 988 | # 8 = 8 Gigabaud |
989 | # Value range is [0,8]. Default value is 0. | ||
989 | */ | 990 | */ |
990 | LPFC_ATTR_R(link_speed, 0, 0, 4, "Select link speed"); | 991 | LPFC_ATTR_R(link_speed, 0, 0, 8, "Select link speed"); |
991 | 992 | ||
992 | /* | 993 | /* |
993 | # lpfc_fcp_class: Determines FC class to use for the FCP protocol. | 994 | # lpfc_fcp_class: Determines FC class to use for the FCP protocol. |
@@ -1559,6 +1560,9 @@ lpfc_get_host_speed(struct Scsi_Host *shost) | |||
1559 | case LA_4GHZ_LINK: | 1560 | case LA_4GHZ_LINK: |
1560 | fc_host_speed(shost) = FC_PORTSPEED_4GBIT; | 1561 | fc_host_speed(shost) = FC_PORTSPEED_4GBIT; |
1561 | break; | 1562 | break; |
1563 | case LA_8GHZ_LINK: | ||
1564 | fc_host_speed(shost) = FC_PORTSPEED_8GBIT; | ||
1565 | break; | ||
1562 | default: | 1566 | default: |
1563 | fc_host_speed(shost) = FC_PORTSPEED_UNKNOWN; | 1567 | fc_host_speed(shost) = FC_PORTSPEED_UNKNOWN; |
1564 | break; | 1568 | break; |