diff options
author | James Smart <James.Smart@Emulex.Com> | 2009-07-19 10:01:32 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2009-08-22 18:51:59 -0400 |
commit | f1c3b0fcbb8104dac92d65d5016500a09beea287 (patch) | |
tree | f7c870106824c1b5294c96bc3fda6b8119383cc8 /drivers/scsi/lpfc/lpfc_crtn.h | |
parent | 1c6834a7e85715a4ac07c1cac25a1950040decb0 (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_crtn.h')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_crtn.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/scsi/lpfc/lpfc_crtn.h b/drivers/scsi/lpfc/lpfc_crtn.h index 48943d344143..0830f37409a3 100644 --- a/drivers/scsi/lpfc/lpfc_crtn.h +++ b/drivers/scsi/lpfc/lpfc_crtn.h | |||
@@ -137,6 +137,9 @@ int lpfc_els_disc_adisc(struct lpfc_vport *); | |||
137 | int lpfc_els_disc_plogi(struct lpfc_vport *); | 137 | int lpfc_els_disc_plogi(struct lpfc_vport *); |
138 | void lpfc_els_timeout(unsigned long); | 138 | void lpfc_els_timeout(unsigned long); |
139 | void lpfc_els_timeout_handler(struct lpfc_vport *); | 139 | void lpfc_els_timeout_handler(struct lpfc_vport *); |
140 | struct lpfc_iocbq *lpfc_prep_els_iocb(struct lpfc_vport *, uint8_t, uint16_t, | ||
141 | uint8_t, struct lpfc_nodelist *, | ||
142 | uint32_t, uint32_t); | ||
140 | void lpfc_hb_timeout_handler(struct lpfc_hba *); | 143 | void lpfc_hb_timeout_handler(struct lpfc_hba *); |
141 | 144 | ||
142 | void lpfc_ct_unsol_event(struct lpfc_hba *, struct lpfc_sli_ring *, | 145 | void lpfc_ct_unsol_event(struct lpfc_hba *, struct lpfc_sli_ring *, |
@@ -364,3 +367,8 @@ void lpfc_start_fdiscs(struct lpfc_hba *phba); | |||
364 | #define HBA_EVENT_LINK_UP 2 | 367 | #define HBA_EVENT_LINK_UP 2 |
365 | #define HBA_EVENT_LINK_DOWN 3 | 368 | #define HBA_EVENT_LINK_DOWN 3 |
366 | 369 | ||
370 | /* functions to support SGIOv4/bsg interface */ | ||
371 | int lpfc_bsg_request(struct fc_bsg_job *); | ||
372 | int lpfc_bsg_timeout(struct fc_bsg_job *); | ||
373 | void lpfc_bsg_ct_unsol_event(struct lpfc_hba *, struct lpfc_sli_ring *, | ||
374 | struct lpfc_iocbq *); | ||