diff options
author | James Smart <James.Smart@Emulex.Com> | 2008-08-24 21:49:55 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-10-13 09:28:53 -0400 |
commit | 34b02dcdcf1865405f4762b991965c0c3b8a3ae0 (patch) | |
tree | 00829334c2813d30e574a5f1290fbf7dd210d1cb /drivers/scsi/lpfc/lpfc.h | |
parent | 90160e010b6f3a91a9bb044bbe6723731e6f366c (diff) |
[SCSI] lpfc 8.2.8 : Update driver for new SLI-3 features
Update driver for new SLI-3 features:
- interrupt enhancements
- lose adapter doorbell writes
- inlining support for FCP_Ixx cmds
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.h')
-rw-r--r-- | drivers/scsi/lpfc/lpfc.h | 22 |
1 files changed, 15 insertions, 7 deletions
diff --git a/drivers/scsi/lpfc/lpfc.h b/drivers/scsi/lpfc/lpfc.h index e0e018d12653..327eeb051087 100644 --- a/drivers/scsi/lpfc/lpfc.h +++ b/drivers/scsi/lpfc/lpfc.h | |||
@@ -407,10 +407,11 @@ struct lpfc_hba { | |||
407 | struct lpfc_sli sli; | 407 | struct lpfc_sli sli; |
408 | uint32_t sli_rev; /* SLI2 or SLI3 */ | 408 | uint32_t sli_rev; /* SLI2 or SLI3 */ |
409 | uint32_t sli3_options; /* Mask of enabled SLI3 options */ | 409 | uint32_t sli3_options; /* Mask of enabled SLI3 options */ |
410 | #define LPFC_SLI3_ENABLED 0x01 | 410 | #define LPFC_SLI3_HBQ_ENABLED 0x01 |
411 | #define LPFC_SLI3_HBQ_ENABLED 0x02 | 411 | #define LPFC_SLI3_NPIV_ENABLED 0x02 |
412 | #define LPFC_SLI3_NPIV_ENABLED 0x04 | 412 | #define LPFC_SLI3_VPORT_TEARDOWN 0x04 |
413 | #define LPFC_SLI3_VPORT_TEARDOWN 0x08 | 413 | #define LPFC_SLI3_CRP_ENABLED 0x08 |
414 | #define LPFC_SLI3_INB_ENABLED 0x10 | ||
414 | uint32_t iocb_cmd_size; | 415 | uint32_t iocb_cmd_size; |
415 | uint32_t iocb_rsp_size; | 416 | uint32_t iocb_rsp_size; |
416 | 417 | ||
@@ -422,10 +423,16 @@ struct lpfc_hba { | |||
422 | #define LS_NPIV_FAB_SUPPORTED 0x2 /* Fabric supports NPIV */ | 423 | #define LS_NPIV_FAB_SUPPORTED 0x2 /* Fabric supports NPIV */ |
423 | #define LS_IGNORE_ERATT 0x4 /* intr handler should ignore ERATT */ | 424 | #define LS_IGNORE_ERATT 0x4 /* intr handler should ignore ERATT */ |
424 | 425 | ||
425 | struct lpfc_sli2_slim *slim2p; | 426 | struct lpfc_dmabuf slim2p; |
426 | struct lpfc_dmabuf hbqslimp; | 427 | |
428 | MAILBOX_t *mbox; | ||
429 | uint32_t *inb_ha_copy; | ||
430 | uint32_t *inb_counter; | ||
431 | uint32_t inb_last_counter; | ||
432 | struct _PCB *pcb; | ||
433 | struct _IOCB *IOCBs; | ||
427 | 434 | ||
428 | dma_addr_t slim2p_mapping; | 435 | struct lpfc_dmabuf hbqslimp; |
429 | 436 | ||
430 | uint16_t pci_cfg_value; | 437 | uint16_t pci_cfg_value; |
431 | 438 | ||
@@ -514,6 +521,7 @@ struct lpfc_hba { | |||
514 | void __iomem *HCregaddr; /* virtual address for host ctl reg */ | 521 | void __iomem *HCregaddr; /* virtual address for host ctl reg */ |
515 | 522 | ||
516 | struct lpfc_hgp __iomem *host_gp; /* Host side get/put pointers */ | 523 | struct lpfc_hgp __iomem *host_gp; /* Host side get/put pointers */ |
524 | struct lpfc_pgp *port_gp; | ||
517 | uint32_t __iomem *hbq_put; /* Address in SLIM to HBQ put ptrs */ | 525 | uint32_t __iomem *hbq_put; /* Address in SLIM to HBQ put ptrs */ |
518 | uint32_t *hbq_get; /* Host mem address of HBQ get ptrs */ | 526 | uint32_t *hbq_get; /* Host mem address of HBQ get ptrs */ |
519 | 527 | ||