aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/lpfc/lpfc_crtn.h
diff options
context:
space:
mode:
authorJames Smart <james.smart@emulex.com>2010-02-12 14:41:27 -0500
committerJames Bottomley <James.Bottomley@suse.de>2010-02-17 18:40:29 -0500
commitecfd03c6a99ad98fea5cb75ec83cd9945adff8d9 (patch)
tree9c480ef51f00384e616a68c6a6fc8a8f4b7c8795 /drivers/scsi/lpfc/lpfc_crtn.h
parent1dfb5a47bc76c700969e41cdc2df6d1bf0adeb62 (diff)
[SCSI] lpfc 8.3.9: Discovery changes to the lpfc driver.
- Add init_vpi mailbox command before re-registering VPI. - Add Fast FCF failover support. Signed-off-by: James Smart <james.smart@emulex.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.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/scsi/lpfc/lpfc_crtn.h b/drivers/scsi/lpfc/lpfc_crtn.h
index 107899dc3f3e..a717f0be7120 100644
--- a/drivers/scsi/lpfc/lpfc_crtn.h
+++ b/drivers/scsi/lpfc/lpfc_crtn.h
@@ -78,6 +78,7 @@ void lpfc_set_disctmo(struct lpfc_vport *);
78int lpfc_can_disctmo(struct lpfc_vport *); 78int lpfc_can_disctmo(struct lpfc_vport *);
79int lpfc_unreg_rpi(struct lpfc_vport *, struct lpfc_nodelist *); 79int lpfc_unreg_rpi(struct lpfc_vport *, struct lpfc_nodelist *);
80void lpfc_unreg_all_rpis(struct lpfc_vport *); 80void lpfc_unreg_all_rpis(struct lpfc_vport *);
81void lpfc_unreg_hba_rpis(struct lpfc_hba *);
81void lpfc_unreg_default_rpis(struct lpfc_vport *); 82void lpfc_unreg_default_rpis(struct lpfc_vport *);
82void lpfc_issue_reg_vpi(struct lpfc_hba *, struct lpfc_vport *); 83void lpfc_issue_reg_vpi(struct lpfc_hba *, struct lpfc_vport *);
83 84
@@ -202,6 +203,7 @@ void lpfc_reg_fcfi(struct lpfc_hba *, struct lpfcMboxq *);
202void lpfc_unreg_fcfi(struct lpfcMboxq *, uint16_t); 203void lpfc_unreg_fcfi(struct lpfcMboxq *, uint16_t);
203void lpfc_resume_rpi(struct lpfcMboxq *, struct lpfc_nodelist *); 204void lpfc_resume_rpi(struct lpfcMboxq *, struct lpfc_nodelist *);
204int lpfc_check_pending_fcoe_event(struct lpfc_hba *, uint8_t); 205int lpfc_check_pending_fcoe_event(struct lpfc_hba *, uint8_t);
206void lpfc_issue_init_vpi(struct lpfc_vport *);
205 207
206void lpfc_config_hbq(struct lpfc_hba *, uint32_t, struct lpfc_hbq_init *, 208void lpfc_config_hbq(struct lpfc_hba *, uint32_t, struct lpfc_hbq_init *,
207 uint32_t , LPFC_MBOXQ_t *); 209 uint32_t , LPFC_MBOXQ_t *);
@@ -211,7 +213,11 @@ struct hbq_dmabuf *lpfc_sli4_rb_alloc(struct lpfc_hba *);
211void lpfc_sli4_rb_free(struct lpfc_hba *, struct hbq_dmabuf *); 213void lpfc_sli4_rb_free(struct lpfc_hba *, struct hbq_dmabuf *);
212void lpfc_sli4_build_dflt_fcf_record(struct lpfc_hba *, struct fcf_record *, 214void lpfc_sli4_build_dflt_fcf_record(struct lpfc_hba *, struct fcf_record *,
213 uint16_t); 215 uint16_t);
216void lpfc_unregister_fcf(struct lpfc_hba *);
217void lpfc_unregister_fcf_rescan(struct lpfc_hba *);
214void lpfc_unregister_unused_fcf(struct lpfc_hba *); 218void lpfc_unregister_unused_fcf(struct lpfc_hba *);
219int lpfc_sli4_redisc_fcf_table(struct lpfc_hba *);
220void lpfc_fcf_redisc_wait_start_timer(struct lpfc_hba *);
215 221
216int lpfc_mem_alloc(struct lpfc_hba *, int align); 222int lpfc_mem_alloc(struct lpfc_hba *, int align);
217void lpfc_mem_free(struct lpfc_hba *); 223void lpfc_mem_free(struct lpfc_hba *);
@@ -370,6 +376,8 @@ void lpfc_free_fast_evt(struct lpfc_hba *, struct lpfc_fast_path_event *);
370void lpfc_create_static_vport(struct lpfc_hba *); 376void lpfc_create_static_vport(struct lpfc_hba *);
371void lpfc_stop_hba_timers(struct lpfc_hba *); 377void lpfc_stop_hba_timers(struct lpfc_hba *);
372void lpfc_stop_port(struct lpfc_hba *); 378void lpfc_stop_port(struct lpfc_hba *);
379void __lpfc_sli4_stop_fcf_redisc_wait_timer(struct lpfc_hba *);
380void lpfc_sli4_stop_fcf_redisc_wait_timer(struct lpfc_hba *);
373void lpfc_parse_fcoe_conf(struct lpfc_hba *, uint8_t *, uint32_t); 381void lpfc_parse_fcoe_conf(struct lpfc_hba *, uint8_t *, uint32_t);
374int lpfc_parse_vpd(struct lpfc_hba *, uint8_t *, int); 382int lpfc_parse_vpd(struct lpfc_hba *, uint8_t *, int);
375void lpfc_start_fdiscs(struct lpfc_hba *phba); 383void lpfc_start_fdiscs(struct lpfc_hba *phba);