aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/lpfc/lpfc_crtn.h
diff options
context:
space:
mode:
authorJamie Wellnitz <Jamie.Wellnitz@emulex.com>2006-02-28 19:25:27 -0500
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2006-02-28 20:00:36 -0500
commit41415862a23f422b80eccc92cf885935139e2415 (patch)
treee3a9537653e472f15405778c4dcc678a56304848 /drivers/scsi/lpfc/lpfc_crtn.h
parentd9d959c41f013439508e0fa1d31f5644d8d626ef (diff)
[SCSI] lpfc 8.1.2: Add ERROR and WARM_START modes for diagnostic purposes.
Add ERROR and WARM_START modes for diagnostic purposes. Signed-off-by: Jamie Wellnitz <Jamie.Wellnitz@emulex.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_crtn.h')
-rw-r--r--drivers/scsi/lpfc/lpfc_crtn.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/drivers/scsi/lpfc/lpfc_crtn.h b/drivers/scsi/lpfc/lpfc_crtn.h
index 0ae49811b916..cafddf2f1af8 100644
--- a/drivers/scsi/lpfc/lpfc_crtn.h
+++ b/drivers/scsi/lpfc/lpfc_crtn.h
@@ -1,7 +1,7 @@
1/******************************************************************* 1/*******************************************************************
2 * This file is part of the Emulex Linux Device Driver for * 2 * This file is part of the Emulex Linux Device Driver for *
3 * Fibre Channel Host Bus Adapters. * 3 * Fibre Channel Host Bus Adapters. *
4 * Copyright (C) 2004-2005 Emulex. All rights reserved. * 4 * Copyright (C) 2004-2006 Emulex. All rights reserved. *
5 * EMULEX and SLI are trademarks of Emulex. * 5 * EMULEX and SLI are trademarks of Emulex. *
6 * www.emulex.com * 6 * www.emulex.com *
7 * * 7 * *
@@ -107,6 +107,7 @@ void lpfc_fdmi_tmo_handler(struct lpfc_hba *);
107int lpfc_config_port_prep(struct lpfc_hba *); 107int lpfc_config_port_prep(struct lpfc_hba *);
108int lpfc_config_port_post(struct lpfc_hba *); 108int lpfc_config_port_post(struct lpfc_hba *);
109int lpfc_hba_down_prep(struct lpfc_hba *); 109int lpfc_hba_down_prep(struct lpfc_hba *);
110int lpfc_hba_down_post(struct lpfc_hba *);
110void lpfc_hba_init(struct lpfc_hba *, uint32_t *); 111void lpfc_hba_init(struct lpfc_hba *, uint32_t *);
111int lpfc_post_buffer(struct lpfc_hba *, struct lpfc_sli_ring *, int, int); 112int lpfc_post_buffer(struct lpfc_hba *, struct lpfc_sli_ring *, int, int);
112void lpfc_decode_firmware_rev(struct lpfc_hba *, char *, int); 113void lpfc_decode_firmware_rev(struct lpfc_hba *, char *, int);
@@ -123,6 +124,7 @@ irqreturn_t lpfc_intr_handler(int, void *, struct pt_regs *);
123void lpfc_read_rev(struct lpfc_hba *, LPFC_MBOXQ_t *); 124void lpfc_read_rev(struct lpfc_hba *, LPFC_MBOXQ_t *);
124void lpfc_config_ring(struct lpfc_hba *, int, LPFC_MBOXQ_t *); 125void lpfc_config_ring(struct lpfc_hba *, int, LPFC_MBOXQ_t *);
125void lpfc_config_port(struct lpfc_hba *, LPFC_MBOXQ_t *); 126void lpfc_config_port(struct lpfc_hba *, LPFC_MBOXQ_t *);
127void lpfc_kill_board(struct lpfc_hba *, LPFC_MBOXQ_t *);
126void lpfc_mbox_put(struct lpfc_hba *, LPFC_MBOXQ_t *); 128void lpfc_mbox_put(struct lpfc_hba *, LPFC_MBOXQ_t *);
127LPFC_MBOXQ_t *lpfc_mbox_get(struct lpfc_hba *); 129LPFC_MBOXQ_t *lpfc_mbox_get(struct lpfc_hba *);
128 130
@@ -135,6 +137,11 @@ void lpfc_sli_poll_fcp_ring(struct lpfc_hba * hba);
135struct lpfc_iocbq * lpfc_sli_get_iocbq(struct lpfc_hba *); 137struct lpfc_iocbq * lpfc_sli_get_iocbq(struct lpfc_hba *);
136void lpfc_sli_release_iocbq(struct lpfc_hba * phba, struct lpfc_iocbq * iocb); 138void lpfc_sli_release_iocbq(struct lpfc_hba * phba, struct lpfc_iocbq * iocb);
137uint16_t lpfc_sli_next_iotag(struct lpfc_hba * phba, struct lpfc_iocbq * iocb); 139uint16_t lpfc_sli_next_iotag(struct lpfc_hba * phba, struct lpfc_iocbq * iocb);
140
141int lpfc_sli_brdready(struct lpfc_hba *, uint32_t);
142int lpfc_sli_brdkill(struct lpfc_hba *);
143int lpfc_sli_brdreset(struct lpfc_hba *);
144int lpfc_sli_brdrestart(struct lpfc_hba *);
138int lpfc_sli_hba_setup(struct lpfc_hba *); 145int lpfc_sli_hba_setup(struct lpfc_hba *);
139int lpfc_sli_hba_down(struct lpfc_hba *); 146int lpfc_sli_hba_down(struct lpfc_hba *);
140int lpfc_sli_issue_mbox(struct lpfc_hba *, LPFC_MBOXQ_t *, uint32_t); 147int lpfc_sli_issue_mbox(struct lpfc_hba *, LPFC_MBOXQ_t *, uint32_t);