ql4_glbl.h (5c34202b8bf942da411b6599668a76b07449bbfd) ql4_glbl.h (e08c182cba87180d7c1e7530dd690a5f6894c412)
1/*
2 * QLogic iSCSI HBA Driver
3 * Copyright (c) 2003-2006 QLogic Corporation
4 *
5 * See LICENSE.qla4xxx for copyright and licensing details.
6 */
7
8#ifndef __QLA4x_GBL_H
9#define __QLA4x_GBL_H
10
1/*
2 * QLogic iSCSI HBA Driver
3 * Copyright (c) 2003-2006 QLogic Corporation
4 *
5 * See LICENSE.qla4xxx for copyright and licensing details.
6 */
7
8#ifndef __QLA4x_GBL_H
9#define __QLA4x_GBL_H
10
11struct iscsi_cls_conn;
12
13void qla4xxx_hw_reset(struct scsi_qla_host *ha);
11int ql4xxx_lock_drvr_wait(struct scsi_qla_host *a);
12int qla4xxx_send_tgts(struct scsi_qla_host *ha, char *ip, uint16_t port);
13int qla4xxx_send_command_to_isp(struct scsi_qla_host *ha, struct srb * srb);
14int qla4xxx_initialize_adapter(struct scsi_qla_host * ha,
15 uint8_t renew_ddb_list);
16int qla4xxx_soft_reset(struct scsi_qla_host *ha);
17irqreturn_t qla4xxx_intr_handler(int irq, void *dev_id);
18

--- 34 unchanged lines hidden (view full) ---

53struct ddb_entry *qla4xxx_alloc_sess(struct scsi_qla_host *ha);
54int qla4xxx_add_sess(struct ddb_entry *);
55void qla4xxx_destroy_sess(struct ddb_entry *ddb_entry);
56int qla4xxx_is_nvram_configuration_valid(struct scsi_qla_host * ha);
57int qla4xxx_get_fw_version(struct scsi_qla_host * ha);
58void qla4xxx_interrupt_service_routine(struct scsi_qla_host * ha,
59 uint32_t intr_status);
60int qla4xxx_init_rings(struct scsi_qla_host * ha);
14int ql4xxx_lock_drvr_wait(struct scsi_qla_host *a);
15int qla4xxx_send_tgts(struct scsi_qla_host *ha, char *ip, uint16_t port);
16int qla4xxx_send_command_to_isp(struct scsi_qla_host *ha, struct srb * srb);
17int qla4xxx_initialize_adapter(struct scsi_qla_host * ha,
18 uint8_t renew_ddb_list);
19int qla4xxx_soft_reset(struct scsi_qla_host *ha);
20irqreturn_t qla4xxx_intr_handler(int irq, void *dev_id);
21

--- 34 unchanged lines hidden (view full) ---

56struct ddb_entry *qla4xxx_alloc_sess(struct scsi_qla_host *ha);
57int qla4xxx_add_sess(struct ddb_entry *);
58void qla4xxx_destroy_sess(struct ddb_entry *ddb_entry);
59int qla4xxx_is_nvram_configuration_valid(struct scsi_qla_host * ha);
60int qla4xxx_get_fw_version(struct scsi_qla_host * ha);
61void qla4xxx_interrupt_service_routine(struct scsi_qla_host * ha,
62 uint32_t intr_status);
63int qla4xxx_init_rings(struct scsi_qla_host * ha);
61struct srb * qla4xxx_del_from_active_array(struct scsi_qla_host *ha, uint32_t index);
64struct srb * qla4xxx_del_from_active_array(struct scsi_qla_host *ha,
65 uint32_t index);
62void qla4xxx_srb_compl(struct scsi_qla_host *ha, struct srb *srb);
63int qla4xxx_reinitialize_ddb_list(struct scsi_qla_host * ha);
64int qla4xxx_process_ddb_changed(struct scsi_qla_host * ha,
65 uint32_t fw_ddb_index, uint32_t state);
66void qla4xxx_srb_compl(struct scsi_qla_host *ha, struct srb *srb);
67int qla4xxx_reinitialize_ddb_list(struct scsi_qla_host * ha);
68int qla4xxx_process_ddb_changed(struct scsi_qla_host * ha,
69 uint32_t fw_ddb_index, uint32_t state);
70void qla4xxx_dump_buffer(void *b, uint32_t size);
66
67extern int ql4xextended_error_logging;
68extern int ql4xdiscoverywait;
69extern int ql4xdontresethba;
70extern int ql4_mod_unload;
71#endif /* _QLA4x_GBL_H */
71
72extern int ql4xextended_error_logging;
73extern int ql4xdiscoverywait;
74extern int ql4xdontresethba;
75extern int ql4_mod_unload;
76#endif /* _QLA4x_GBL_H */