diff options
author | Jamie Wellnitz <Jamie.Wellnitz@emulex.com> | 2006-02-28 19:25:27 -0500 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-02-28 20:00:36 -0500 |
commit | 41415862a23f422b80eccc92cf885935139e2415 (patch) | |
tree | e3a9537653e472f15405778c4dcc678a56304848 /drivers/scsi/lpfc/lpfc_crtn.h | |
parent | d9d959c41f013439508e0fa1d31f5644d8d626ef (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.h | 9 |
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 *); | |||
107 | int lpfc_config_port_prep(struct lpfc_hba *); | 107 | int lpfc_config_port_prep(struct lpfc_hba *); |
108 | int lpfc_config_port_post(struct lpfc_hba *); | 108 | int lpfc_config_port_post(struct lpfc_hba *); |
109 | int lpfc_hba_down_prep(struct lpfc_hba *); | 109 | int lpfc_hba_down_prep(struct lpfc_hba *); |
110 | int lpfc_hba_down_post(struct lpfc_hba *); | ||
110 | void lpfc_hba_init(struct lpfc_hba *, uint32_t *); | 111 | void lpfc_hba_init(struct lpfc_hba *, uint32_t *); |
111 | int lpfc_post_buffer(struct lpfc_hba *, struct lpfc_sli_ring *, int, int); | 112 | int lpfc_post_buffer(struct lpfc_hba *, struct lpfc_sli_ring *, int, int); |
112 | void lpfc_decode_firmware_rev(struct lpfc_hba *, char *, int); | 113 | void lpfc_decode_firmware_rev(struct lpfc_hba *, char *, int); |
@@ -123,6 +124,7 @@ irqreturn_t lpfc_intr_handler(int, void *, struct pt_regs *); | |||
123 | void lpfc_read_rev(struct lpfc_hba *, LPFC_MBOXQ_t *); | 124 | void lpfc_read_rev(struct lpfc_hba *, LPFC_MBOXQ_t *); |
124 | void lpfc_config_ring(struct lpfc_hba *, int, LPFC_MBOXQ_t *); | 125 | void lpfc_config_ring(struct lpfc_hba *, int, LPFC_MBOXQ_t *); |
125 | void lpfc_config_port(struct lpfc_hba *, LPFC_MBOXQ_t *); | 126 | void lpfc_config_port(struct lpfc_hba *, LPFC_MBOXQ_t *); |
127 | void lpfc_kill_board(struct lpfc_hba *, LPFC_MBOXQ_t *); | ||
126 | void lpfc_mbox_put(struct lpfc_hba *, LPFC_MBOXQ_t *); | 128 | void lpfc_mbox_put(struct lpfc_hba *, LPFC_MBOXQ_t *); |
127 | LPFC_MBOXQ_t *lpfc_mbox_get(struct lpfc_hba *); | 129 | LPFC_MBOXQ_t *lpfc_mbox_get(struct lpfc_hba *); |
128 | 130 | ||
@@ -135,6 +137,11 @@ void lpfc_sli_poll_fcp_ring(struct lpfc_hba * hba); | |||
135 | struct lpfc_iocbq * lpfc_sli_get_iocbq(struct lpfc_hba *); | 137 | struct lpfc_iocbq * lpfc_sli_get_iocbq(struct lpfc_hba *); |
136 | void lpfc_sli_release_iocbq(struct lpfc_hba * phba, struct lpfc_iocbq * iocb); | 138 | void lpfc_sli_release_iocbq(struct lpfc_hba * phba, struct lpfc_iocbq * iocb); |
137 | uint16_t lpfc_sli_next_iotag(struct lpfc_hba * phba, struct lpfc_iocbq * iocb); | 139 | uint16_t lpfc_sli_next_iotag(struct lpfc_hba * phba, struct lpfc_iocbq * iocb); |
140 | |||
141 | int lpfc_sli_brdready(struct lpfc_hba *, uint32_t); | ||
142 | int lpfc_sli_brdkill(struct lpfc_hba *); | ||
143 | int lpfc_sli_brdreset(struct lpfc_hba *); | ||
144 | int lpfc_sli_brdrestart(struct lpfc_hba *); | ||
138 | int lpfc_sli_hba_setup(struct lpfc_hba *); | 145 | int lpfc_sli_hba_setup(struct lpfc_hba *); |
139 | int lpfc_sli_hba_down(struct lpfc_hba *); | 146 | int lpfc_sli_hba_down(struct lpfc_hba *); |
140 | int lpfc_sli_issue_mbox(struct lpfc_hba *, LPFC_MBOXQ_t *, uint32_t); | 147 | int lpfc_sli_issue_mbox(struct lpfc_hba *, LPFC_MBOXQ_t *, uint32_t); |