aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/lpfc/lpfc.h
diff options
context:
space:
mode:
authorJames Smart <James.Smart@Emulex.Com>2009-07-19 10:01:32 -0400
committerJames Bottomley <James.Bottomley@suse.de>2009-08-22 18:51:59 -0400
commitf1c3b0fcbb8104dac92d65d5016500a09beea287 (patch)
treef7c870106824c1b5294c96bc3fda6b8119383cc8 /drivers/scsi/lpfc/lpfc.h
parent1c6834a7e85715a4ac07c1cac25a1950040decb0 (diff)
[SCSI] lpfc 8.3.4: Add bsg (SGIOv4) support for ELS/CT support
Add bsg (SGIOv4) support for sending and receiving ELS, CT commands This patch adds a new file, lpfc_bsg.c. Signed-off-by: James Smart <James.Smart@emulex.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc.h')
-rw-r--r--drivers/scsi/lpfc/lpfc.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/scsi/lpfc/lpfc.h b/drivers/scsi/lpfc/lpfc.h
index 8cca3619c745..aa10f7951634 100644
--- a/drivers/scsi/lpfc/lpfc.h
+++ b/drivers/scsi/lpfc/lpfc.h
@@ -441,6 +441,12 @@ enum intr_type_t {
441 MSIX, 441 MSIX,
442}; 442};
443 443
444struct unsol_rcv_ct_ctx {
445 uint32_t ctxt_id;
446 uint32_t SID;
447 uint32_t oxid;
448};
449
444struct lpfc_hba { 450struct lpfc_hba {
445 /* SCSI interface function jump table entries */ 451 /* SCSI interface function jump table entries */
446 int (*lpfc_new_scsi_buf) 452 int (*lpfc_new_scsi_buf)
@@ -776,6 +782,11 @@ struct lpfc_hba {
776 uint8_t valid_vlan; 782 uint8_t valid_vlan;
777 uint16_t vlan_id; 783 uint16_t vlan_id;
778 struct list_head fcf_conn_rec_list; 784 struct list_head fcf_conn_rec_list;
785
786 struct mutex ct_event_mutex; /* synchronize access to ct_ev_waiters */
787 struct list_head ct_ev_waiters;
788 struct unsol_rcv_ct_ctx ct_ctx[64];
789 uint32_t ctx_idx;
779}; 790};
780 791
781static inline struct Scsi_Host * 792static inline struct Scsi_Host *