diff options
author | James Smart <james.smart@emulex.com> | 2010-02-12 14:41:27 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-02-17 18:40:29 -0500 |
commit | ecfd03c6a99ad98fea5cb75ec83cd9945adff8d9 (patch) | |
tree | 9c480ef51f00384e616a68c6a6fc8a8f4b7c8795 /drivers/scsi/lpfc/lpfc_crtn.h | |
parent | 1dfb5a47bc76c700969e41cdc2df6d1bf0adeb62 (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.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 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 *); | |||
78 | int lpfc_can_disctmo(struct lpfc_vport *); | 78 | int lpfc_can_disctmo(struct lpfc_vport *); |
79 | int lpfc_unreg_rpi(struct lpfc_vport *, struct lpfc_nodelist *); | 79 | int lpfc_unreg_rpi(struct lpfc_vport *, struct lpfc_nodelist *); |
80 | void lpfc_unreg_all_rpis(struct lpfc_vport *); | 80 | void lpfc_unreg_all_rpis(struct lpfc_vport *); |
81 | void lpfc_unreg_hba_rpis(struct lpfc_hba *); | ||
81 | void lpfc_unreg_default_rpis(struct lpfc_vport *); | 82 | void lpfc_unreg_default_rpis(struct lpfc_vport *); |
82 | void lpfc_issue_reg_vpi(struct lpfc_hba *, struct lpfc_vport *); | 83 | void 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 *); | |||
202 | void lpfc_unreg_fcfi(struct lpfcMboxq *, uint16_t); | 203 | void lpfc_unreg_fcfi(struct lpfcMboxq *, uint16_t); |
203 | void lpfc_resume_rpi(struct lpfcMboxq *, struct lpfc_nodelist *); | 204 | void lpfc_resume_rpi(struct lpfcMboxq *, struct lpfc_nodelist *); |
204 | int lpfc_check_pending_fcoe_event(struct lpfc_hba *, uint8_t); | 205 | int lpfc_check_pending_fcoe_event(struct lpfc_hba *, uint8_t); |
206 | void lpfc_issue_init_vpi(struct lpfc_vport *); | ||
205 | 207 | ||
206 | void lpfc_config_hbq(struct lpfc_hba *, uint32_t, struct lpfc_hbq_init *, | 208 | void 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 *); | |||
211 | void lpfc_sli4_rb_free(struct lpfc_hba *, struct hbq_dmabuf *); | 213 | void lpfc_sli4_rb_free(struct lpfc_hba *, struct hbq_dmabuf *); |
212 | void lpfc_sli4_build_dflt_fcf_record(struct lpfc_hba *, struct fcf_record *, | 214 | void lpfc_sli4_build_dflt_fcf_record(struct lpfc_hba *, struct fcf_record *, |
213 | uint16_t); | 215 | uint16_t); |
216 | void lpfc_unregister_fcf(struct lpfc_hba *); | ||
217 | void lpfc_unregister_fcf_rescan(struct lpfc_hba *); | ||
214 | void lpfc_unregister_unused_fcf(struct lpfc_hba *); | 218 | void lpfc_unregister_unused_fcf(struct lpfc_hba *); |
219 | int lpfc_sli4_redisc_fcf_table(struct lpfc_hba *); | ||
220 | void lpfc_fcf_redisc_wait_start_timer(struct lpfc_hba *); | ||
215 | 221 | ||
216 | int lpfc_mem_alloc(struct lpfc_hba *, int align); | 222 | int lpfc_mem_alloc(struct lpfc_hba *, int align); |
217 | void lpfc_mem_free(struct lpfc_hba *); | 223 | void lpfc_mem_free(struct lpfc_hba *); |
@@ -370,6 +376,8 @@ void lpfc_free_fast_evt(struct lpfc_hba *, struct lpfc_fast_path_event *); | |||
370 | void lpfc_create_static_vport(struct lpfc_hba *); | 376 | void lpfc_create_static_vport(struct lpfc_hba *); |
371 | void lpfc_stop_hba_timers(struct lpfc_hba *); | 377 | void lpfc_stop_hba_timers(struct lpfc_hba *); |
372 | void lpfc_stop_port(struct lpfc_hba *); | 378 | void lpfc_stop_port(struct lpfc_hba *); |
379 | void __lpfc_sli4_stop_fcf_redisc_wait_timer(struct lpfc_hba *); | ||
380 | void lpfc_sli4_stop_fcf_redisc_wait_timer(struct lpfc_hba *); | ||
373 | void lpfc_parse_fcoe_conf(struct lpfc_hba *, uint8_t *, uint32_t); | 381 | void lpfc_parse_fcoe_conf(struct lpfc_hba *, uint8_t *, uint32_t); |
374 | int lpfc_parse_vpd(struct lpfc_hba *, uint8_t *, int); | 382 | int lpfc_parse_vpd(struct lpfc_hba *, uint8_t *, int); |
375 | void lpfc_start_fdiscs(struct lpfc_hba *phba); | 383 | void lpfc_start_fdiscs(struct lpfc_hba *phba); |