diff options
author | Andrew Vasquez <andrew.vasquez@qlogic.com> | 2005-07-06 13:30:05 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.(none)> | 2005-07-14 10:47:30 -0400 |
commit | abbd8870b9cb7754a4935826bc9f3c7b029f8b7c (patch) | |
tree | c795f15d35c18a08c97dcbdaeb83a4e0c67679c6 /drivers/scsi/qla2xxx/qla_gbl.h | |
parent | eb1dd68bc897d4e5a5133bfffbd4777a0fe16c4c (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.h | 13 |
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 | */ |
34 | extern int qla2x00_initialize_adapter(scsi_qla_host_t *); | 34 | extern int qla2x00_initialize_adapter(scsi_qla_host_t *); |
35 | |||
36 | extern int qla2100_pci_config(struct scsi_qla_host *); | ||
37 | extern int qla2300_pci_config(struct scsi_qla_host *); | ||
38 | extern void qla2x00_reset_chip(struct scsi_qla_host *); | ||
39 | extern int qla2x00_chip_diag(struct scsi_qla_host *); | ||
40 | extern void qla2x00_config_rings(struct scsi_qla_host *); | ||
41 | extern void qla2x00_reset_adapter(struct scsi_qla_host *); | ||
42 | extern int qla2x00_nvram_config(struct scsi_qla_host *); | ||
43 | extern void qla2x00_update_fw_options(struct scsi_qla_host *); | ||
44 | extern int qla2x00_load_risc(struct scsi_qla_host *, uint32_t *); | ||
45 | |||
35 | extern fc_port_t *qla2x00_alloc_fcport(scsi_qla_host_t *, int); | 46 | extern fc_port_t *qla2x00_alloc_fcport(scsi_qla_host_t *, int); |
36 | 47 | ||
37 | extern int qla2x00_loop_resync(scsi_qla_host_t *); | 48 | extern 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 | */ |
219 | extern ms_iocb_entry_t *qla2x00_prep_ms_iocb(scsi_qla_host_t *, uint32_t, | ||
220 | uint32_t); | ||
208 | extern int qla2x00_ga_nxt(scsi_qla_host_t *, fc_port_t *); | 221 | extern int qla2x00_ga_nxt(scsi_qla_host_t *, fc_port_t *); |
209 | extern int qla2x00_gid_pt(scsi_qla_host_t *, sw_info_t *); | 222 | extern int qla2x00_gid_pt(scsi_qla_host_t *, sw_info_t *); |
210 | extern int qla2x00_gpn_id(scsi_qla_host_t *, sw_info_t *); | 223 | extern int qla2x00_gpn_id(scsi_qla_host_t *, sw_info_t *); |