diff options
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_hw.h')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_hw.h | 40 |
1 files changed, 29 insertions, 11 deletions
diff --git a/drivers/scsi/lpfc/lpfc_hw.h b/drivers/scsi/lpfc/lpfc_hw.h index 86c41981188b..1ea565e0561f 100644 --- a/drivers/scsi/lpfc/lpfc_hw.h +++ b/drivers/scsi/lpfc/lpfc_hw.h | |||
@@ -266,9 +266,11 @@ struct lpfc_name { | |||
266 | struct { | 266 | struct { |
267 | #ifdef __BIG_ENDIAN_BITFIELD | 267 | #ifdef __BIG_ENDIAN_BITFIELD |
268 | uint8_t nameType:4; /* FC Word 0, bit 28:31 */ | 268 | uint8_t nameType:4; /* FC Word 0, bit 28:31 */ |
269 | uint8_t IEEEextMsn:4; /* FC Word 0, bit 24:27, bit 8:11 of IEEE ext */ | 269 | uint8_t IEEEextMsn:4; /* FC Word 0, bit 24:27, bit |
270 | 8:11 of IEEE ext */ | ||
270 | #else /* __LITTLE_ENDIAN_BITFIELD */ | 271 | #else /* __LITTLE_ENDIAN_BITFIELD */ |
271 | uint8_t IEEEextMsn:4; /* FC Word 0, bit 24:27, bit 8:11 of IEEE ext */ | 272 | uint8_t IEEEextMsn:4; /* FC Word 0, bit 24:27, bit |
273 | 8:11 of IEEE ext */ | ||
272 | uint8_t nameType:4; /* FC Word 0, bit 28:31 */ | 274 | uint8_t nameType:4; /* FC Word 0, bit 28:31 */ |
273 | #endif | 275 | #endif |
274 | 276 | ||
@@ -278,7 +280,8 @@ struct lpfc_name { | |||
278 | #define NAME_IP_TYPE 0x4 /* IP address */ | 280 | #define NAME_IP_TYPE 0x4 /* IP address */ |
279 | #define NAME_CCITT_TYPE 0xC | 281 | #define NAME_CCITT_TYPE 0xC |
280 | #define NAME_CCITT_GR_TYPE 0xE | 282 | #define NAME_CCITT_GR_TYPE 0xE |
281 | uint8_t IEEEextLsb; /* FC Word 0, bit 16:23, IEEE extended Lsb */ | 283 | uint8_t IEEEextLsb; /* FC Word 0, bit 16:23, IEEE |
284 | extended Lsb */ | ||
282 | uint8_t IEEE[6]; /* FC IEEE address */ | 285 | uint8_t IEEE[6]; /* FC IEEE address */ |
283 | } s; | 286 | } s; |
284 | uint8_t wwn[8]; | 287 | uint8_t wwn[8]; |
@@ -1024,23 +1027,38 @@ typedef struct { | |||
1024 | /* Start FireFly Register definitions */ | 1027 | /* Start FireFly Register definitions */ |
1025 | #define PCI_VENDOR_ID_EMULEX 0x10df | 1028 | #define PCI_VENDOR_ID_EMULEX 0x10df |
1026 | #define PCI_DEVICE_ID_FIREFLY 0x1ae5 | 1029 | #define PCI_DEVICE_ID_FIREFLY 0x1ae5 |
1027 | #define PCI_DEVICE_ID_SUPERFLY 0xf700 | ||
1028 | #define PCI_DEVICE_ID_DRAGONFLY 0xf800 | ||
1029 | #define PCI_DEVICE_ID_RFLY 0xf095 | 1030 | #define PCI_DEVICE_ID_RFLY 0xf095 |
1030 | #define PCI_DEVICE_ID_PFLY 0xf098 | 1031 | #define PCI_DEVICE_ID_PFLY 0xf098 |
1032 | #define PCI_DEVICE_ID_LP101 0xf0a1 | ||
1031 | #define PCI_DEVICE_ID_TFLY 0xf0a5 | 1033 | #define PCI_DEVICE_ID_TFLY 0xf0a5 |
1034 | #define PCI_DEVICE_ID_BSMB 0xf0d1 | ||
1035 | #define PCI_DEVICE_ID_BMID 0xf0d5 | ||
1036 | #define PCI_DEVICE_ID_ZSMB 0xf0e1 | ||
1037 | #define PCI_DEVICE_ID_ZMID 0xf0e5 | ||
1038 | #define PCI_DEVICE_ID_NEPTUNE 0xf0f5 | ||
1039 | #define PCI_DEVICE_ID_NEPTUNE_SCSP 0xf0f6 | ||
1040 | #define PCI_DEVICE_ID_NEPTUNE_DCSP 0xf0f7 | ||
1041 | #define PCI_DEVICE_ID_SUPERFLY 0xf700 | ||
1042 | #define PCI_DEVICE_ID_DRAGONFLY 0xf800 | ||
1032 | #define PCI_DEVICE_ID_CENTAUR 0xf900 | 1043 | #define PCI_DEVICE_ID_CENTAUR 0xf900 |
1033 | #define PCI_DEVICE_ID_PEGASUS 0xf980 | 1044 | #define PCI_DEVICE_ID_PEGASUS 0xf980 |
1034 | #define PCI_DEVICE_ID_THOR 0xfa00 | 1045 | #define PCI_DEVICE_ID_THOR 0xfa00 |
1035 | #define PCI_DEVICE_ID_VIPER 0xfb00 | 1046 | #define PCI_DEVICE_ID_VIPER 0xfb00 |
1047 | #define PCI_DEVICE_ID_LP10000S 0xfc00 | ||
1048 | #define PCI_DEVICE_ID_LP11000S 0xfc10 | ||
1049 | #define PCI_DEVICE_ID_LPE11000S 0xfc20 | ||
1036 | #define PCI_DEVICE_ID_HELIOS 0xfd00 | 1050 | #define PCI_DEVICE_ID_HELIOS 0xfd00 |
1037 | #define PCI_DEVICE_ID_BMID 0xf0d5 | 1051 | #define PCI_DEVICE_ID_HELIOS_SCSP 0xfd11 |
1038 | #define PCI_DEVICE_ID_BSMB 0xf0d1 | 1052 | #define PCI_DEVICE_ID_HELIOS_DCSP 0xfd12 |
1039 | #define PCI_DEVICE_ID_ZEPHYR 0xfe00 | 1053 | #define PCI_DEVICE_ID_ZEPHYR 0xfe00 |
1040 | #define PCI_DEVICE_ID_ZMID 0xf0e5 | 1054 | #define PCI_DEVICE_ID_ZEPHYR_SCSP 0xfe11 |
1041 | #define PCI_DEVICE_ID_ZSMB 0xf0e1 | 1055 | #define PCI_DEVICE_ID_ZEPHYR_DCSP 0xfe12 |
1042 | #define PCI_DEVICE_ID_LP101 0xf0a1 | 1056 | |
1043 | #define PCI_DEVICE_ID_LP10000S 0xfc00 | 1057 | #define PCI_SUBSYSTEM_ID_LP11000S 0xfc11 |
1058 | #define PCI_SUBSYSTEM_ID_LP11002S 0xfc12 | ||
1059 | #define PCI_SUBSYSTEM_ID_LPE11000S 0xfc21 | ||
1060 | #define PCI_SUBSYSTEM_ID_LPE11002S 0xfc22 | ||
1061 | #define PCI_SUBSYSTEM_ID_LPE11010S 0xfc2A | ||
1044 | 1062 | ||
1045 | #define JEDEC_ID_ADDRESS 0x0080001c | 1063 | #define JEDEC_ID_ADDRESS 0x0080001c |
1046 | #define FIREFLY_JEDEC_ID 0x1ACC | 1064 | #define FIREFLY_JEDEC_ID 0x1ACC |