diff options
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_gbl.h')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_gbl.h | 33 |
1 files changed, 29 insertions, 4 deletions
diff --git a/drivers/scsi/qla2xxx/qla_gbl.h b/drivers/scsi/qla2xxx/qla_gbl.h index 32be4c14cccb..ffdc2680f049 100644 --- a/drivers/scsi/qla2xxx/qla_gbl.h +++ b/drivers/scsi/qla2xxx/qla_gbl.h | |||
@@ -47,9 +47,11 @@ extern int qla2x00_local_device_login(scsi_qla_host_t *, uint16_t); | |||
47 | extern void qla2x00_restart_queues(scsi_qla_host_t *, uint8_t); | 47 | extern void qla2x00_restart_queues(scsi_qla_host_t *, uint8_t); |
48 | 48 | ||
49 | extern void qla2x00_rescan_fcports(scsi_qla_host_t *); | 49 | extern void qla2x00_rescan_fcports(scsi_qla_host_t *); |
50 | extern void qla2x00_update_fcports(scsi_qla_host_t *); | ||
50 | 51 | ||
51 | extern int qla2x00_abort_isp(scsi_qla_host_t *); | 52 | extern int qla2x00_abort_isp(scsi_qla_host_t *); |
52 | 53 | ||
54 | extern void qla2x00_update_fcport(scsi_qla_host_t *, fc_port_t *); | ||
53 | extern void qla2x00_reg_remote_port(scsi_qla_host_t *, fc_port_t *); | 55 | extern void qla2x00_reg_remote_port(scsi_qla_host_t *, fc_port_t *); |
54 | 56 | ||
55 | /* | 57 | /* |
@@ -70,15 +72,15 @@ extern char *qla2x00_get_fw_version_str(struct scsi_qla_host *, char *); | |||
70 | 72 | ||
71 | extern void qla2x00_cmd_timeout(srb_t *); | 73 | extern void qla2x00_cmd_timeout(srb_t *); |
72 | 74 | ||
73 | extern void qla2x00_mark_device_lost(scsi_qla_host_t *, fc_port_t *, int); | 75 | extern void qla2x00_mark_device_lost(scsi_qla_host_t *, fc_port_t *, int, int); |
74 | extern void qla2x00_mark_all_devices_lost(scsi_qla_host_t *); | 76 | extern void qla2x00_mark_all_devices_lost(scsi_qla_host_t *, int); |
75 | |||
76 | extern void qla2x00_blink_led(scsi_qla_host_t *); | ||
77 | 77 | ||
78 | extern int qla2x00_down_timeout(struct semaphore *, unsigned long); | 78 | extern int qla2x00_down_timeout(struct semaphore *, unsigned long); |
79 | 79 | ||
80 | extern struct fw_blob *qla2x00_request_firmware(scsi_qla_host_t *); | 80 | extern struct fw_blob *qla2x00_request_firmware(scsi_qla_host_t *); |
81 | 81 | ||
82 | extern int qla2x00_wait_for_hba_online(scsi_qla_host_t *); | ||
83 | |||
82 | /* | 84 | /* |
83 | * Global Function Prototypes in qla_iocb.c source file. | 85 | * Global Function Prototypes in qla_iocb.c source file. |
84 | */ | 86 | */ |
@@ -183,6 +185,13 @@ qla2x00_get_resource_cnts(scsi_qla_host_t *, uint16_t *, uint16_t *, uint16_t *, | |||
183 | extern int | 185 | extern int |
184 | qla2x00_get_fcal_position_map(scsi_qla_host_t *ha, char *pos_map); | 186 | qla2x00_get_fcal_position_map(scsi_qla_host_t *ha, char *pos_map); |
185 | 187 | ||
188 | extern int | ||
189 | qla2x00_get_link_status(scsi_qla_host_t *, uint16_t, link_stat_t *, | ||
190 | uint16_t *); | ||
191 | |||
192 | extern int | ||
193 | qla24xx_get_isp_stats(scsi_qla_host_t *, uint32_t *, uint32_t, uint16_t *); | ||
194 | |||
186 | extern int qla24xx_abort_command(scsi_qla_host_t *, srb_t *); | 195 | extern int qla24xx_abort_command(scsi_qla_host_t *, srb_t *); |
187 | extern int qla24xx_abort_target(fc_port_t *); | 196 | extern int qla24xx_abort_target(fc_port_t *); |
188 | 197 | ||
@@ -226,6 +235,22 @@ extern int qla2x00_write_nvram_data(scsi_qla_host_t *, uint8_t *, uint32_t, | |||
226 | extern int qla24xx_write_nvram_data(scsi_qla_host_t *, uint8_t *, uint32_t, | 235 | extern int qla24xx_write_nvram_data(scsi_qla_host_t *, uint8_t *, uint32_t, |
227 | uint32_t); | 236 | uint32_t); |
228 | 237 | ||
238 | extern int qla2x00_beacon_on(struct scsi_qla_host *); | ||
239 | extern int qla2x00_beacon_off(struct scsi_qla_host *); | ||
240 | extern void qla2x00_beacon_blink(struct scsi_qla_host *); | ||
241 | extern int qla24xx_beacon_on(struct scsi_qla_host *); | ||
242 | extern int qla24xx_beacon_off(struct scsi_qla_host *); | ||
243 | extern void qla24xx_beacon_blink(struct scsi_qla_host *); | ||
244 | |||
245 | extern uint8_t *qla2x00_read_optrom_data(struct scsi_qla_host *, uint8_t *, | ||
246 | uint32_t, uint32_t); | ||
247 | extern int qla2x00_write_optrom_data(struct scsi_qla_host *, uint8_t *, | ||
248 | uint32_t, uint32_t); | ||
249 | extern uint8_t *qla24xx_read_optrom_data(struct scsi_qla_host *, uint8_t *, | ||
250 | uint32_t, uint32_t); | ||
251 | extern int qla24xx_write_optrom_data(struct scsi_qla_host *, uint8_t *, | ||
252 | uint32_t, uint32_t); | ||
253 | |||
229 | /* | 254 | /* |
230 | * Global Function Prototypes in qla_dbg.c source file. | 255 | * Global Function Prototypes in qla_dbg.c source file. |
231 | */ | 256 | */ |