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:05 -0400
committerJames Bottomley <jejb@mulgrave.(none)>2005-07-14 10:47:30 -0400
commitabbd8870b9cb7754a4935826bc9f3c7b029f8b7c (patch)
treec795f15d35c18a08c97dcbdaeb83a4e0c67679c6 /drivers/scsi/qla2xxx/qla_gbl.h
parenteb1dd68bc897d4e5a5133bfffbd4777a0fe16c4c (diff)
[SCSI] qla2xxx: Factor-out ISP specific functions to method-based call tables.
Factor-out ISP specific functions to method-based call tables. In anticipation of ISP24xx/ISP25xx support, factor-out ISP specific functions into a method-based call table. 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.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_gbl.h b/drivers/scsi/qla2xxx/qla_gbl.h
index 164866b199e6..6bea7ac622c7 100644
--- a/drivers/scsi/qla2xxx/qla_gbl.h
+++ b/drivers/scsi/qla2xxx/qla_gbl.h
@@ -32,6 +32,17 @@ extern int qla2x00_probe_one(struct pci_dev *, struct qla_board_info *);
32 * Global Function Prototypes in qla_init.c source file. 32 * Global Function Prototypes in qla_init.c source file.
33 */ 33 */
34extern int qla2x00_initialize_adapter(scsi_qla_host_t *); 34extern int qla2x00_initialize_adapter(scsi_qla_host_t *);
35
36extern int qla2100_pci_config(struct scsi_qla_host *);
37extern int qla2300_pci_config(struct scsi_qla_host *);
38extern void qla2x00_reset_chip(struct scsi_qla_host *);
39extern int qla2x00_chip_diag(struct scsi_qla_host *);
40extern void qla2x00_config_rings(struct scsi_qla_host *);
41extern void qla2x00_reset_adapter(struct scsi_qla_host *);
42extern int qla2x00_nvram_config(struct scsi_qla_host *);
43extern void qla2x00_update_fw_options(struct scsi_qla_host *);
44extern int qla2x00_load_risc(struct scsi_qla_host *, uint32_t *);
45
35extern fc_port_t *qla2x00_alloc_fcport(scsi_qla_host_t *, int); 46extern fc_port_t *qla2x00_alloc_fcport(scsi_qla_host_t *, int);
36 47
37extern int qla2x00_loop_resync(scsi_qla_host_t *); 48extern int qla2x00_loop_resync(scsi_qla_host_t *);
@@ -205,6 +216,8 @@ extern void qla2x00_print_scsi_cmd(struct scsi_cmnd *);
205/* 216/*
206 * Global Function Prototypes in qla_gs.c source file. 217 * Global Function Prototypes in qla_gs.c source file.
207 */ 218 */
219extern ms_iocb_entry_t *qla2x00_prep_ms_iocb(scsi_qla_host_t *, uint32_t,
220 uint32_t);
208extern int qla2x00_ga_nxt(scsi_qla_host_t *, fc_port_t *); 221extern int qla2x00_ga_nxt(scsi_qla_host_t *, fc_port_t *);
209extern int qla2x00_gid_pt(scsi_qla_host_t *, sw_info_t *); 222extern int qla2x00_gid_pt(scsi_qla_host_t *, sw_info_t *);
210extern int qla2x00_gpn_id(scsi_qla_host_t *, sw_info_t *); 223extern int qla2x00_gpn_id(scsi_qla_host_t *, sw_info_t *);