diff options
author | James Smart <James.Smart@Emulex.Com> | 2008-02-08 18:49:51 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-02-11 18:52:57 -0500 |
commit | db2378e09151c855e8f92c1b4b2fb4fc5cd8cb40 (patch) | |
tree | 82a79f9f5529ddc39ea2a6968ec6951ce02ad746 /drivers/scsi/lpfc/lpfc.h | |
parent | 1b32f6aa9935ab88eac0d608a4b06369f5d9064a (diff) |
[SCSI] lpfc 8.2.5 : Add MSI-X single message 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.h')
-rw-r--r-- | drivers/scsi/lpfc/lpfc.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/drivers/scsi/lpfc/lpfc.h b/drivers/scsi/lpfc/lpfc.h index cbe07d79bd12..10f983b479c6 100644 --- a/drivers/scsi/lpfc/lpfc.h +++ b/drivers/scsi/lpfc/lpfc.h | |||
@@ -392,6 +392,13 @@ enum hba_temp_state { | |||
392 | HBA_OVER_TEMP | 392 | HBA_OVER_TEMP |
393 | }; | 393 | }; |
394 | 394 | ||
395 | enum intr_type_t { | ||
396 | NONE = 0, | ||
397 | INTx, | ||
398 | MSI, | ||
399 | MSIX, | ||
400 | }; | ||
401 | |||
395 | struct lpfc_hba { | 402 | struct lpfc_hba { |
396 | struct lpfc_sli sli; | 403 | struct lpfc_sli sli; |
397 | uint32_t sli_rev; /* SLI2 or SLI3 */ | 404 | uint32_t sli_rev; /* SLI2 or SLI3 */ |
@@ -555,7 +562,8 @@ struct lpfc_hba { | |||
555 | mempool_t *nlp_mem_pool; | 562 | mempool_t *nlp_mem_pool; |
556 | 563 | ||
557 | struct fc_host_statistics link_stats; | 564 | struct fc_host_statistics link_stats; |
558 | uint8_t using_msi; | 565 | enum intr_type_t intr_type; |
566 | struct msix_entry msix_entries[1]; | ||
559 | 567 | ||
560 | struct list_head port_list; | 568 | struct list_head port_list; |
561 | struct lpfc_vport *pport; /* physical lpfc_vport pointer */ | 569 | struct lpfc_vport *pport; /* physical lpfc_vport pointer */ |