diff options
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_crtn.h')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_crtn.h | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/drivers/scsi/lpfc/lpfc_crtn.h b/drivers/scsi/lpfc/lpfc_crtn.h index 0830f37409a..650494d622c 100644 --- a/drivers/scsi/lpfc/lpfc_crtn.h +++ b/drivers/scsi/lpfc/lpfc_crtn.h | |||
@@ -49,6 +49,8 @@ void lpfc_init_link(struct lpfc_hba *, LPFC_MBOXQ_t *, uint32_t, uint32_t); | |||
49 | void lpfc_request_features(struct lpfc_hba *, struct lpfcMboxq *); | 49 | void lpfc_request_features(struct lpfc_hba *, struct lpfcMboxq *); |
50 | 50 | ||
51 | struct lpfc_vport *lpfc_find_vport_by_did(struct lpfc_hba *, uint32_t); | 51 | struct lpfc_vport *lpfc_find_vport_by_did(struct lpfc_hba *, uint32_t); |
52 | void lpfc_cleanup_rcv_buffers(struct lpfc_vport *); | ||
53 | void lpfc_rcv_seq_check_edtov(struct lpfc_vport *); | ||
52 | void lpfc_cleanup_rpis(struct lpfc_vport *, int); | 54 | void lpfc_cleanup_rpis(struct lpfc_vport *, int); |
53 | int lpfc_linkdown(struct lpfc_hba *); | 55 | int lpfc_linkdown(struct lpfc_hba *); |
54 | void lpfc_linkdown_port(struct lpfc_vport *); | 56 | void lpfc_linkdown_port(struct lpfc_vport *); |
@@ -144,6 +146,8 @@ void lpfc_hb_timeout_handler(struct lpfc_hba *); | |||
144 | 146 | ||
145 | void lpfc_ct_unsol_event(struct lpfc_hba *, struct lpfc_sli_ring *, | 147 | void lpfc_ct_unsol_event(struct lpfc_hba *, struct lpfc_sli_ring *, |
146 | struct lpfc_iocbq *); | 148 | struct lpfc_iocbq *); |
149 | void lpfc_sli4_ct_abort_unsol_event(struct lpfc_hba *, struct lpfc_sli_ring *, | ||
150 | struct lpfc_iocbq *); | ||
147 | int lpfc_ns_cmd(struct lpfc_vport *, int, uint8_t, uint32_t); | 151 | int lpfc_ns_cmd(struct lpfc_vport *, int, uint8_t, uint32_t); |
148 | int lpfc_fdmi_cmd(struct lpfc_vport *, struct lpfc_nodelist *, int); | 152 | int lpfc_fdmi_cmd(struct lpfc_vport *, struct lpfc_nodelist *, int); |
149 | void lpfc_fdmi_tmo(unsigned long); | 153 | void lpfc_fdmi_tmo(unsigned long); |
@@ -188,7 +192,7 @@ int lpfc_mbox_tmo_val(struct lpfc_hba *, int); | |||
188 | void lpfc_init_vfi(struct lpfcMboxq *, struct lpfc_vport *); | 192 | void lpfc_init_vfi(struct lpfcMboxq *, struct lpfc_vport *); |
189 | void lpfc_reg_vfi(struct lpfcMboxq *, struct lpfc_vport *, dma_addr_t); | 193 | void lpfc_reg_vfi(struct lpfcMboxq *, struct lpfc_vport *, dma_addr_t); |
190 | void lpfc_init_vpi(struct lpfc_hba *, struct lpfcMboxq *, uint16_t); | 194 | void lpfc_init_vpi(struct lpfc_hba *, struct lpfcMboxq *, uint16_t); |
191 | void lpfc_unreg_vfi(struct lpfcMboxq *, uint16_t); | 195 | void lpfc_unreg_vfi(struct lpfcMboxq *, struct lpfc_vport *); |
192 | void lpfc_reg_fcfi(struct lpfc_hba *, struct lpfcMboxq *); | 196 | void lpfc_reg_fcfi(struct lpfc_hba *, struct lpfcMboxq *); |
193 | void lpfc_unreg_fcfi(struct lpfcMboxq *, uint16_t); | 197 | void lpfc_unreg_fcfi(struct lpfcMboxq *, uint16_t); |
194 | void lpfc_resume_rpi(struct lpfcMboxq *, struct lpfc_nodelist *); | 198 | void lpfc_resume_rpi(struct lpfcMboxq *, struct lpfc_nodelist *); |
@@ -212,7 +216,10 @@ void lpfc_stop_vport_timers(struct lpfc_vport *); | |||
212 | void lpfc_poll_timeout(unsigned long ptr); | 216 | void lpfc_poll_timeout(unsigned long ptr); |
213 | void lpfc_poll_start_timer(struct lpfc_hba *); | 217 | void lpfc_poll_start_timer(struct lpfc_hba *); |
214 | void lpfc_poll_eratt(unsigned long); | 218 | void lpfc_poll_eratt(unsigned long); |
215 | void lpfc_sli_poll_fcp_ring(struct lpfc_hba *); | 219 | int |
220 | lpfc_sli_handle_fast_ring_event(struct lpfc_hba *, | ||
221 | struct lpfc_sli_ring *, uint32_t); | ||
222 | |||
216 | struct lpfc_iocbq * lpfc_sli_get_iocbq(struct lpfc_hba *); | 223 | struct lpfc_iocbq * lpfc_sli_get_iocbq(struct lpfc_hba *); |
217 | void lpfc_sli_release_iocbq(struct lpfc_hba *, struct lpfc_iocbq *); | 224 | void lpfc_sli_release_iocbq(struct lpfc_hba *, struct lpfc_iocbq *); |
218 | uint16_t lpfc_sli_next_iotag(struct lpfc_hba *, struct lpfc_iocbq *); | 225 | uint16_t lpfc_sli_next_iotag(struct lpfc_hba *, struct lpfc_iocbq *); |
@@ -235,7 +242,7 @@ void lpfc_sli_mbox_sys_shutdown(struct lpfc_hba *); | |||
235 | int lpfc_sli_check_eratt(struct lpfc_hba *); | 242 | int lpfc_sli_check_eratt(struct lpfc_hba *); |
236 | void lpfc_sli_handle_slow_ring_event(struct lpfc_hba *, | 243 | void lpfc_sli_handle_slow_ring_event(struct lpfc_hba *, |
237 | struct lpfc_sli_ring *, uint32_t); | 244 | struct lpfc_sli_ring *, uint32_t); |
238 | int lpfc_sli4_handle_received_buffer(struct lpfc_hba *); | 245 | void lpfc_sli4_handle_received_buffer(struct lpfc_hba *, struct hbq_dmabuf *); |
239 | void lpfc_sli_def_mbox_cmpl(struct lpfc_hba *, LPFC_MBOXQ_t *); | 246 | void lpfc_sli_def_mbox_cmpl(struct lpfc_hba *, LPFC_MBOXQ_t *); |
240 | int lpfc_sli_issue_iocb(struct lpfc_hba *, uint32_t, | 247 | int lpfc_sli_issue_iocb(struct lpfc_hba *, uint32_t, |
241 | struct lpfc_iocbq *, uint32_t); | 248 | struct lpfc_iocbq *, uint32_t); |
@@ -361,6 +368,7 @@ void lpfc_stop_port(struct lpfc_hba *); | |||
361 | void lpfc_parse_fcoe_conf(struct lpfc_hba *, uint8_t *, uint32_t); | 368 | void lpfc_parse_fcoe_conf(struct lpfc_hba *, uint8_t *, uint32_t); |
362 | int lpfc_parse_vpd(struct lpfc_hba *, uint8_t *, int); | 369 | int lpfc_parse_vpd(struct lpfc_hba *, uint8_t *, int); |
363 | void lpfc_start_fdiscs(struct lpfc_hba *phba); | 370 | void lpfc_start_fdiscs(struct lpfc_hba *phba); |
371 | struct lpfc_vport *lpfc_find_vport_by_vpid(struct lpfc_hba *, uint16_t); | ||
364 | 372 | ||
365 | #define ScsiResult(host_code, scsi_code) (((host_code) << 16) | scsi_code) | 373 | #define ScsiResult(host_code, scsi_code) (((host_code) << 16) | scsi_code) |
366 | #define HBA_EVENT_RSCN 5 | 374 | #define HBA_EVENT_RSCN 5 |