diff options
Diffstat (limited to 'drivers/scsi/lpfc/lpfc.h')
-rw-r--r-- | drivers/scsi/lpfc/lpfc.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/scsi/lpfc/lpfc.h b/drivers/scsi/lpfc/lpfc.h index 636a930a5739..46ccdffb46aa 100644 --- a/drivers/scsi/lpfc/lpfc.h +++ b/drivers/scsi/lpfc/lpfc.h | |||
@@ -68,6 +68,7 @@ struct lpfc_dmabuf { | |||
68 | struct list_head list; | 68 | struct list_head list; |
69 | void *virt; /* virtual address ptr */ | 69 | void *virt; /* virtual address ptr */ |
70 | dma_addr_t phys; /* mapped address */ | 70 | dma_addr_t phys; /* mapped address */ |
71 | uint32_t buffer_tag; /* used for tagged queue ring */ | ||
71 | }; | 72 | }; |
72 | 73 | ||
73 | struct lpfc_dma_pool { | 74 | struct lpfc_dma_pool { |
@@ -582,6 +583,12 @@ struct lpfc_hba { | |||
582 | unsigned long last_completion_time; | 583 | unsigned long last_completion_time; |
583 | struct timer_list hb_tmofunc; | 584 | struct timer_list hb_tmofunc; |
584 | uint8_t hb_outstanding; | 585 | uint8_t hb_outstanding; |
586 | /* | ||
587 | * Following bit will be set for all buffer tags which are not | ||
588 | * associated with any HBQ. | ||
589 | */ | ||
590 | #define QUE_BUFTAG_BIT (1<<31) | ||
591 | uint32_t buffer_tag_count; | ||
585 | }; | 592 | }; |
586 | 593 | ||
587 | static inline struct Scsi_Host * | 594 | static inline struct Scsi_Host * |