diff options
author | Andrew Vasquez <andrew.vasquez@qlogic.com> | 2005-07-06 13:30:57 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.(none)> | 2005-07-14 10:56:39 -0400 |
commit | 1c7c63574ff3e568ca374e9f05e30b8d7d64273e (patch) | |
tree | cb82036b580bb57eb01e897b877e1da50259e2a0 /drivers/scsi/qla2xxx/qla_gbl.h | |
parent | 8c958a99d6a903ce4ffaa6780f3425a8567db9e6 (diff) |
[SCSI] qla2xxx: Add MBX command routines for ISP24xx support.
Add MBX command routines for ISP24xx support.
Generalize several routines [qla2x00_load_ram_ext(),
qla2x00_execute_fw(), qla2x00_verify_checksum()] to handle
larger addressing space.
Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_gbl.h')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_gbl.h | 28 |
1 files changed, 23 insertions, 5 deletions
diff --git a/drivers/scsi/qla2xxx/qla_gbl.h b/drivers/scsi/qla2xxx/qla_gbl.h index eedb5bdec3b9..574446c0892a 100644 --- a/drivers/scsi/qla2xxx/qla_gbl.h +++ b/drivers/scsi/qla2xxx/qla_gbl.h | |||
@@ -104,10 +104,10 @@ extern int | |||
104 | qla2x00_load_ram(scsi_qla_host_t *, dma_addr_t, uint16_t, uint16_t); | 104 | qla2x00_load_ram(scsi_qla_host_t *, dma_addr_t, uint16_t, uint16_t); |
105 | 105 | ||
106 | extern int | 106 | extern int |
107 | qla2x00_load_ram_ext(scsi_qla_host_t *, dma_addr_t, uint32_t, uint16_t); | 107 | qla2x00_load_ram_ext(scsi_qla_host_t *, dma_addr_t, uint32_t, uint32_t); |
108 | 108 | ||
109 | extern int | 109 | extern int |
110 | qla2x00_execute_fw(scsi_qla_host_t *); | 110 | qla2x00_execute_fw(scsi_qla_host_t *, uint32_t); |
111 | 111 | ||
112 | extern void | 112 | extern void |
113 | qla2x00_get_fw_version(scsi_qla_host_t *, uint16_t *, | 113 | qla2x00_get_fw_version(scsi_qla_host_t *, uint16_t *, |
@@ -123,7 +123,7 @@ extern int | |||
123 | qla2x00_mbx_reg_test(scsi_qla_host_t *); | 123 | qla2x00_mbx_reg_test(scsi_qla_host_t *); |
124 | 124 | ||
125 | extern int | 125 | extern int |
126 | qla2x00_verify_checksum(scsi_qla_host_t *); | 126 | qla2x00_verify_checksum(scsi_qla_host_t *, uint32_t); |
127 | 127 | ||
128 | extern int | 128 | extern int |
129 | qla2x00_issue_iocb(scsi_qla_host_t *, void *, dma_addr_t, size_t); | 129 | qla2x00_issue_iocb(scsi_qla_host_t *, void *, dma_addr_t, size_t); |
@@ -133,7 +133,7 @@ qla2x00_abort_command(scsi_qla_host_t *, srb_t *); | |||
133 | 133 | ||
134 | #if USE_ABORT_TGT | 134 | #if USE_ABORT_TGT |
135 | extern int | 135 | extern int |
136 | qla2x00_abort_target(fc_port_t *fcport); | 136 | qla2x00_abort_target(fc_port_t *); |
137 | #endif | 137 | #endif |
138 | 138 | ||
139 | extern int | 139 | extern int |
@@ -167,12 +167,18 @@ qla2x00_send_sns(scsi_qla_host_t *, dma_addr_t, uint16_t, size_t); | |||
167 | extern int | 167 | extern int |
168 | qla2x00_login_fabric(scsi_qla_host_t *, uint16_t, uint8_t, uint8_t, uint8_t, | 168 | qla2x00_login_fabric(scsi_qla_host_t *, uint16_t, uint8_t, uint8_t, uint8_t, |
169 | uint16_t *, uint8_t); | 169 | uint16_t *, uint8_t); |
170 | extern int | ||
171 | qla24xx_login_fabric(scsi_qla_host_t *, uint16_t, uint8_t, uint8_t, uint8_t, | ||
172 | uint16_t *, uint8_t); | ||
170 | 173 | ||
171 | extern int | 174 | extern int |
172 | qla2x00_login_local_device(scsi_qla_host_t *, uint16_t, uint16_t *, uint8_t); | 175 | qla2x00_login_local_device(scsi_qla_host_t *, uint16_t, uint16_t *, uint8_t); |
173 | 176 | ||
174 | extern int | 177 | extern int |
175 | qla2x00_fabric_logout(scsi_qla_host_t *ha, uint16_t loop_id); | 178 | qla2x00_fabric_logout(scsi_qla_host_t *, uint16_t, uint8_t, uint8_t, uint8_t); |
179 | |||
180 | extern int | ||
181 | qla24xx_fabric_logout(scsi_qla_host_t *, uint16_t, uint8_t, uint8_t, uint8_t); | ||
176 | 182 | ||
177 | extern int | 183 | extern int |
178 | qla2x00_full_login_lip(scsi_qla_host_t *ha); | 184 | qla2x00_full_login_lip(scsi_qla_host_t *ha); |
@@ -187,6 +193,18 @@ qla2x00_get_resource_cnts(scsi_qla_host_t *, uint16_t *, uint16_t *, uint16_t *, | |||
187 | extern int | 193 | extern int |
188 | qla2x00_get_fcal_position_map(scsi_qla_host_t *ha, char *pos_map); | 194 | qla2x00_get_fcal_position_map(scsi_qla_host_t *ha, char *pos_map); |
189 | 195 | ||
196 | extern int qla24xx_abort_command(scsi_qla_host_t *, srb_t *); | ||
197 | extern int qla24xx_abort_target(fc_port_t *); | ||
198 | |||
199 | extern int qla2x00_system_error(scsi_qla_host_t *); | ||
200 | |||
201 | extern int | ||
202 | qla2x00_get_serdes_params(scsi_qla_host_t *, uint16_t *, uint16_t *, | ||
203 | uint16_t *); | ||
204 | |||
205 | extern int | ||
206 | qla2x00_set_serdes_params(scsi_qla_host_t *, uint16_t, uint16_t, uint16_t); | ||
207 | |||
190 | /* | 208 | /* |
191 | * Global Function Prototypes in qla_isr.c source file. | 209 | * Global Function Prototypes in qla_isr.c source file. |
192 | */ | 210 | */ |