aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/qla_gbl.h
diff options
context:
space:
mode:
authorAndrew Vasquez <andrew.vasquez@qlogic.com>2005-07-06 13:30:57 -0400
committerJames Bottomley <jejb@mulgrave.(none)>2005-07-14 10:56:39 -0400
commit1c7c63574ff3e568ca374e9f05e30b8d7d64273e (patch)
treecb82036b580bb57eb01e897b877e1da50259e2a0 /drivers/scsi/qla2xxx/qla_gbl.h
parent8c958a99d6a903ce4ffaa6780f3425a8567db9e6 (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.h28
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
104qla2x00_load_ram(scsi_qla_host_t *, dma_addr_t, uint16_t, uint16_t); 104qla2x00_load_ram(scsi_qla_host_t *, dma_addr_t, uint16_t, uint16_t);
105 105
106extern int 106extern int
107qla2x00_load_ram_ext(scsi_qla_host_t *, dma_addr_t, uint32_t, uint16_t); 107qla2x00_load_ram_ext(scsi_qla_host_t *, dma_addr_t, uint32_t, uint32_t);
108 108
109extern int 109extern int
110qla2x00_execute_fw(scsi_qla_host_t *); 110qla2x00_execute_fw(scsi_qla_host_t *, uint32_t);
111 111
112extern void 112extern void
113qla2x00_get_fw_version(scsi_qla_host_t *, uint16_t *, 113qla2x00_get_fw_version(scsi_qla_host_t *, uint16_t *,
@@ -123,7 +123,7 @@ extern int
123qla2x00_mbx_reg_test(scsi_qla_host_t *); 123qla2x00_mbx_reg_test(scsi_qla_host_t *);
124 124
125extern int 125extern int
126qla2x00_verify_checksum(scsi_qla_host_t *); 126qla2x00_verify_checksum(scsi_qla_host_t *, uint32_t);
127 127
128extern int 128extern int
129qla2x00_issue_iocb(scsi_qla_host_t *, void *, dma_addr_t, size_t); 129qla2x00_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
135extern int 135extern int
136qla2x00_abort_target(fc_port_t *fcport); 136qla2x00_abort_target(fc_port_t *);
137#endif 137#endif
138 138
139extern int 139extern int
@@ -167,12 +167,18 @@ qla2x00_send_sns(scsi_qla_host_t *, dma_addr_t, uint16_t, size_t);
167extern int 167extern int
168qla2x00_login_fabric(scsi_qla_host_t *, uint16_t, uint8_t, uint8_t, uint8_t, 168qla2x00_login_fabric(scsi_qla_host_t *, uint16_t, uint8_t, uint8_t, uint8_t,
169 uint16_t *, uint8_t); 169 uint16_t *, uint8_t);
170extern int
171qla24xx_login_fabric(scsi_qla_host_t *, uint16_t, uint8_t, uint8_t, uint8_t,
172 uint16_t *, uint8_t);
170 173
171extern int 174extern int
172qla2x00_login_local_device(scsi_qla_host_t *, uint16_t, uint16_t *, uint8_t); 175qla2x00_login_local_device(scsi_qla_host_t *, uint16_t, uint16_t *, uint8_t);
173 176
174extern int 177extern int
175qla2x00_fabric_logout(scsi_qla_host_t *ha, uint16_t loop_id); 178qla2x00_fabric_logout(scsi_qla_host_t *, uint16_t, uint8_t, uint8_t, uint8_t);
179
180extern int
181qla24xx_fabric_logout(scsi_qla_host_t *, uint16_t, uint8_t, uint8_t, uint8_t);
176 182
177extern int 183extern int
178qla2x00_full_login_lip(scsi_qla_host_t *ha); 184qla2x00_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 *,
187extern int 193extern int
188qla2x00_get_fcal_position_map(scsi_qla_host_t *ha, char *pos_map); 194qla2x00_get_fcal_position_map(scsi_qla_host_t *ha, char *pos_map);
189 195
196extern int qla24xx_abort_command(scsi_qla_host_t *, srb_t *);
197extern int qla24xx_abort_target(fc_port_t *);
198
199extern int qla2x00_system_error(scsi_qla_host_t *);
200
201extern int
202qla2x00_get_serdes_params(scsi_qla_host_t *, uint16_t *, uint16_t *,
203 uint16_t *);
204
205extern int
206qla2x00_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 */