diff options
author | Jamie Wellnitz <Jamie.Wellnitz@emulex.com> | 2006-02-28 22:33:04 -0500 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-03-06 10:45:43 -0500 |
commit | 74b72a59b8d42d31aa6ffac8f10ca7a784be392c (patch) | |
tree | 524eabfe74685220fb9a0778149ec5e696277422 /drivers/scsi/lpfc/lpfc_hw.h | |
parent | 42ab03609cca4ef5079e248296f015650c626899 (diff) |
[PATCH] lpfc 8.1.3: Derive supported speeds from LMT field in the READ_CONFIG
Derive supported speeds from LMT field in the READ_CONFIG
Driver was keying off internal cores. Use what the firmware reports instead.
Signed-off-by: Jamie Wellnitz <Jamie.Wellnitz@emulex.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_hw.h')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_hw.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/scsi/lpfc/lpfc_hw.h b/drivers/scsi/lpfc/lpfc_hw.h index 98d39cea7954..54d04188f7cc 100644 --- a/drivers/scsi/lpfc/lpfc_hw.h +++ b/drivers/scsi/lpfc/lpfc_hw.h | |||
@@ -1711,13 +1711,13 @@ typedef struct { | |||
1711 | uint32_t rttov; | 1711 | uint32_t rttov; |
1712 | uint32_t altov; | 1712 | uint32_t altov; |
1713 | uint32_t lmt; | 1713 | uint32_t lmt; |
1714 | #define LMT_RESERVED 0x0 /* Not used */ | 1714 | #define LMT_RESERVED 0x000 /* Not used */ |
1715 | #define LMT_266_10bit 0x1 /* 265.625 Mbaud 10 bit iface */ | 1715 | #define LMT_1Gb 0x004 |
1716 | #define LMT_532_10bit 0x2 /* 531.25 Mbaud 10 bit iface */ | 1716 | #define LMT_2Gb 0x008 |
1717 | #define LMT_1063_20bit 0x3 /* 1062.5 Mbaud 20 bit iface */ | 1717 | #define LMT_4Gb 0x040 |
1718 | #define LMT_1063_10bit 0x4 /* 1062.5 Mbaud 10 bit iface */ | 1718 | #define LMT_8Gb 0x080 |
1719 | #define LMT_2125_10bit 0x8 /* 2125 Mbaud 10 bit iface */ | 1719 | #define LMT_10Gb 0x100 |
1720 | #define LMT_4250_10bit 0x40 /* 4250 Mbaud 10 bit iface */ | 1720 | |
1721 | 1721 | ||
1722 | uint32_t rsvd2; | 1722 | uint32_t rsvd2; |
1723 | uint32_t rsvd3; | 1723 | uint32_t rsvd3; |