diff options
author | James Smart <James.Smart@Emulex.Com> | 2009-10-02 15:16:45 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2009-12-04 13:01:40 -0500 |
commit | 6669f9bb902b8c3f5e33cb8c32c8c0eec6ed68ed (patch) | |
tree | e143e916abc71ff3c7edb7a5508d480391efc1ee /drivers/scsi/lpfc/lpfc_hw.h | |
parent | 4d9ab994e214d35107017c342aca42477b137316 (diff) |
[SCSI] lpfc 8.3.5: fix VPI registration, error clean up and add support for vlink events
This patch includes the following fixes and new features:
- Fix mask size for CT field in WQE
- Fix VPI base not used when unregistering VPI on port 1.
- Fix UNREG_VPI mailbox command to unreg the correct VPI
- Fixed Check for aborted els command
- Fix error when trying to load driver with wrong firmware on FCoE HBA.
- Fix bug with probe_one routines not putting the Scsi_Host back upon error
- Add support for Clear Virtual Link Async Events
- Add support for unsolicited CT exchange sequence abort
- Add 0x0714 OCeXXXXX PCI ID
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_hw.h')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_hw.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/drivers/scsi/lpfc/lpfc_hw.h b/drivers/scsi/lpfc/lpfc_hw.h index ccb26724dc53..74f9f028b45f 100644 --- a/drivers/scsi/lpfc/lpfc_hw.h +++ b/drivers/scsi/lpfc/lpfc_hw.h | |||
@@ -1183,6 +1183,7 @@ typedef struct { | |||
1183 | #define PCI_DEVICE_ID_ZEPHYR_DCSP 0xfe12 | 1183 | #define PCI_DEVICE_ID_ZEPHYR_DCSP 0xfe12 |
1184 | #define PCI_VENDOR_ID_SERVERENGINE 0x19a2 | 1184 | #define PCI_VENDOR_ID_SERVERENGINE 0x19a2 |
1185 | #define PCI_DEVICE_ID_TIGERSHARK 0x0704 | 1185 | #define PCI_DEVICE_ID_TIGERSHARK 0x0704 |
1186 | #define PCI_DEVICE_ID_TS_BE3 0x0714 | ||
1186 | 1187 | ||
1187 | #define JEDEC_ID_ADDRESS 0x0080001c | 1188 | #define JEDEC_ID_ADDRESS 0x0080001c |
1188 | #define FIREFLY_JEDEC_ID 0x1ACC | 1189 | #define FIREFLY_JEDEC_ID 0x1ACC |
@@ -1444,6 +1445,7 @@ typedef struct { /* FireFly BIU registers */ | |||
1444 | #define CMD_ABORT_MXRI64_CN 0x8C | 1445 | #define CMD_ABORT_MXRI64_CN 0x8C |
1445 | #define CMD_RCV_ELS_REQ64_CX 0x8D | 1446 | #define CMD_RCV_ELS_REQ64_CX 0x8D |
1446 | #define CMD_XMIT_ELS_RSP64_CX 0x95 | 1447 | #define CMD_XMIT_ELS_RSP64_CX 0x95 |
1448 | #define CMD_XMIT_BLS_RSP64_CX 0x97 | ||
1447 | #define CMD_FCP_IWRITE64_CR 0x98 | 1449 | #define CMD_FCP_IWRITE64_CR 0x98 |
1448 | #define CMD_FCP_IWRITE64_CX 0x99 | 1450 | #define CMD_FCP_IWRITE64_CX 0x99 |
1449 | #define CMD_FCP_IREAD64_CR 0x9A | 1451 | #define CMD_FCP_IREAD64_CR 0x9A |
@@ -2326,7 +2328,13 @@ typedef struct { | |||
2326 | /* Structure for MB Command UNREG_VPI (0x97) */ | 2328 | /* Structure for MB Command UNREG_VPI (0x97) */ |
2327 | typedef struct { | 2329 | typedef struct { |
2328 | uint32_t rsvd1; | 2330 | uint32_t rsvd1; |
2329 | uint32_t rsvd2; | 2331 | #ifdef __BIG_ENDIAN_BITFIELD |
2332 | uint16_t rsvd2; | ||
2333 | uint16_t sli4_vpi; | ||
2334 | #else /* __LITTLE_ENDIAN */ | ||
2335 | uint16_t sli4_vpi; | ||
2336 | uint16_t rsvd2; | ||
2337 | #endif | ||
2330 | uint32_t rsvd3; | 2338 | uint32_t rsvd3; |
2331 | uint32_t rsvd4; | 2339 | uint32_t rsvd4; |
2332 | uint32_t rsvd5; | 2340 | uint32_t rsvd5; |