diff options
author | James Smart <James.Smart@Emulex.Com> | 2008-08-24 21:50:06 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-10-13 09:28:54 -0400 |
commit | 84774a4d0a4dba8a5767da6c58ea5a8c5b0cfe25 (patch) | |
tree | 2bc1c62a32f76260ae5743f7888c4ff45122cef4 /drivers/scsi/lpfc/lpfc_hw.h | |
parent | d7c255b26d8e3f12164d82093de3bf22efad2b4a (diff) |
[SCSI] lpfc 8.2.8 : Add new FCOE hardware support
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_hw.h')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_hw.h | 26 |
1 files changed, 24 insertions, 2 deletions
diff --git a/drivers/scsi/lpfc/lpfc_hw.h b/drivers/scsi/lpfc/lpfc_hw.h index 9f94dab5ea73..ee4e50175ca8 100644 --- a/drivers/scsi/lpfc/lpfc_hw.h +++ b/drivers/scsi/lpfc/lpfc_hw.h | |||
@@ -1107,6 +1107,8 @@ typedef struct { | |||
1107 | /* Start FireFly Register definitions */ | 1107 | /* Start FireFly Register definitions */ |
1108 | #define PCI_VENDOR_ID_EMULEX 0x10df | 1108 | #define PCI_VENDOR_ID_EMULEX 0x10df |
1109 | #define PCI_DEVICE_ID_FIREFLY 0x1ae5 | 1109 | #define PCI_DEVICE_ID_FIREFLY 0x1ae5 |
1110 | #define PCI_DEVICE_ID_PROTEUS_VF 0xe100 | ||
1111 | #define PCI_DEVICE_ID_PROTEUS_PF 0xe180 | ||
1110 | #define PCI_DEVICE_ID_SAT_SMB 0xf011 | 1112 | #define PCI_DEVICE_ID_SAT_SMB 0xf011 |
1111 | #define PCI_DEVICE_ID_SAT_MID 0xf015 | 1113 | #define PCI_DEVICE_ID_SAT_MID 0xf015 |
1112 | #define PCI_DEVICE_ID_RFLY 0xf095 | 1114 | #define PCI_DEVICE_ID_RFLY 0xf095 |
@@ -1133,10 +1135,12 @@ typedef struct { | |||
1133 | #define PCI_DEVICE_ID_LP11000S 0xfc10 | 1135 | #define PCI_DEVICE_ID_LP11000S 0xfc10 |
1134 | #define PCI_DEVICE_ID_LPE11000S 0xfc20 | 1136 | #define PCI_DEVICE_ID_LPE11000S 0xfc20 |
1135 | #define PCI_DEVICE_ID_SAT_S 0xfc40 | 1137 | #define PCI_DEVICE_ID_SAT_S 0xfc40 |
1138 | #define PCI_DEVICE_ID_PROTEUS_S 0xfc50 | ||
1136 | #define PCI_DEVICE_ID_HELIOS 0xfd00 | 1139 | #define PCI_DEVICE_ID_HELIOS 0xfd00 |
1137 | #define PCI_DEVICE_ID_HELIOS_SCSP 0xfd11 | 1140 | #define PCI_DEVICE_ID_HELIOS_SCSP 0xfd11 |
1138 | #define PCI_DEVICE_ID_HELIOS_DCSP 0xfd12 | 1141 | #define PCI_DEVICE_ID_HELIOS_DCSP 0xfd12 |
1139 | #define PCI_DEVICE_ID_ZEPHYR 0xfe00 | 1142 | #define PCI_DEVICE_ID_ZEPHYR 0xfe00 |
1143 | #define PCI_DEVICE_ID_HORNET 0xfe05 | ||
1140 | #define PCI_DEVICE_ID_ZEPHYR_SCSP 0xfe11 | 1144 | #define PCI_DEVICE_ID_ZEPHYR_SCSP 0xfe11 |
1141 | #define PCI_DEVICE_ID_ZEPHYR_DCSP 0xfe12 | 1145 | #define PCI_DEVICE_ID_ZEPHYR_DCSP 0xfe12 |
1142 | 1146 | ||
@@ -1154,6 +1158,7 @@ typedef struct { | |||
1154 | #define ZEPHYR_JEDEC_ID 0x0577 | 1158 | #define ZEPHYR_JEDEC_ID 0x0577 |
1155 | #define VIPER_JEDEC_ID 0x4838 | 1159 | #define VIPER_JEDEC_ID 0x4838 |
1156 | #define SATURN_JEDEC_ID 0x1004 | 1160 | #define SATURN_JEDEC_ID 0x1004 |
1161 | #define HORNET_JDEC_ID 0x2057706D | ||
1157 | 1162 | ||
1158 | #define JEDEC_ID_MASK 0x0FFFF000 | 1163 | #define JEDEC_ID_MASK 0x0FFFF000 |
1159 | #define JEDEC_ID_SHIFT 12 | 1164 | #define JEDEC_ID_SHIFT 12 |
@@ -1289,6 +1294,9 @@ typedef struct { /* FireFly BIU registers */ | |||
1289 | #define MBX_WRITE_VPARMS 0x32 | 1294 | #define MBX_WRITE_VPARMS 0x32 |
1290 | #define MBX_ASYNCEVT_ENABLE 0x33 | 1295 | #define MBX_ASYNCEVT_ENABLE 0x33 |
1291 | 1296 | ||
1297 | #define MBX_PORT_CAPABILITIES 0x3B | ||
1298 | #define MBX_PORT_IOV_CONTROL 0x3C | ||
1299 | |||
1292 | #define MBX_CONFIG_HBQ 0x7C | 1300 | #define MBX_CONFIG_HBQ 0x7C |
1293 | #define MBX_LOAD_AREA 0x81 | 1301 | #define MBX_LOAD_AREA 0x81 |
1294 | #define MBX_RUN_BIU_DIAG64 0x84 | 1302 | #define MBX_RUN_BIU_DIAG64 0x84 |
@@ -2195,7 +2203,10 @@ typedef struct { | |||
2195 | typedef struct { | 2203 | typedef struct { |
2196 | uint32_t eventTag; /* Event tag */ | 2204 | uint32_t eventTag; /* Event tag */ |
2197 | #ifdef __BIG_ENDIAN_BITFIELD | 2205 | #ifdef __BIG_ENDIAN_BITFIELD |
2198 | uint32_t rsvd1:22; | 2206 | uint32_t rsvd1:19; |
2207 | uint32_t fa:1; | ||
2208 | uint32_t mm:1; /* Menlo Maintenance mode enabled */ | ||
2209 | uint32_t rx:1; | ||
2199 | uint32_t pb:1; | 2210 | uint32_t pb:1; |
2200 | uint32_t il:1; | 2211 | uint32_t il:1; |
2201 | uint32_t attType:8; | 2212 | uint32_t attType:8; |
@@ -2203,7 +2214,10 @@ typedef struct { | |||
2203 | uint32_t attType:8; | 2214 | uint32_t attType:8; |
2204 | uint32_t il:1; | 2215 | uint32_t il:1; |
2205 | uint32_t pb:1; | 2216 | uint32_t pb:1; |
2206 | uint32_t rsvd1:22; | 2217 | uint32_t rx:1; |
2218 | uint32_t mm:1; | ||
2219 | uint32_t fa:1; | ||
2220 | uint32_t rsvd1:19; | ||
2207 | #endif | 2221 | #endif |
2208 | 2222 | ||
2209 | #define AT_RESERVED 0x00 /* Reserved - attType */ | 2223 | #define AT_RESERVED 0x00 /* Reserved - attType */ |
@@ -2224,6 +2238,7 @@ typedef struct { | |||
2224 | 2238 | ||
2225 | #define TOPOLOGY_PT_PT 0x01 /* Topology is pt-pt / pt-fabric */ | 2239 | #define TOPOLOGY_PT_PT 0x01 /* Topology is pt-pt / pt-fabric */ |
2226 | #define TOPOLOGY_LOOP 0x02 /* Topology is FC-AL */ | 2240 | #define TOPOLOGY_LOOP 0x02 /* Topology is FC-AL */ |
2241 | #define TOPOLOGY_LNK_MENLO_MAINTENANCE 0x05 /* maint mode zephtr to menlo */ | ||
2227 | 2242 | ||
2228 | union { | 2243 | union { |
2229 | struct ulp_bde lilpBde; /* This BDE points to a 128 byte buffer | 2244 | struct ulp_bde lilpBde; /* This BDE points to a 128 byte buffer |
@@ -3346,3 +3361,10 @@ lpfc_error_lost_link(IOCB_t *iocbp) | |||
3346 | iocbp->un.ulpWord[4] == IOERR_LINK_DOWN || | 3361 | iocbp->un.ulpWord[4] == IOERR_LINK_DOWN || |
3347 | iocbp->un.ulpWord[4] == IOERR_SLI_DOWN)); | 3362 | iocbp->un.ulpWord[4] == IOERR_SLI_DOWN)); |
3348 | } | 3363 | } |
3364 | |||
3365 | #define MENLO_TRANSPORT_TYPE 0xfe | ||
3366 | #define MENLO_CONTEXT 0 | ||
3367 | #define MENLO_PU 3 | ||
3368 | #define MENLO_TIMEOUT 30 | ||
3369 | #define SETVAR_MLOMNT 0x103107 | ||
3370 | #define SETVAR_MLORST 0x103007 | ||