Linux Kernel
3.7.1
|
#include "qla_def.h"
#include "qla_gbl.h"
#include <linux/delay.h>
#include <linux/slab.h>
#include <linux/vmalloc.h>
#include "qla_devtbl.h"
#include <target/target_core_base.h>
#include "qla_target.h"
Go to the source code of this file.
Macros | |
#define | MPS_MASK 0xe0 |
#define | MCTP_DUMP_STR_ADDR 0x00000000 |
#define | QLA_FW_URL "ftp://ftp.qlogic.com/outgoing/linux/firmware/" |
#define MCTP_DUMP_STR_ADDR 0x00000000 |
#define MPS_MASK 0xe0 |
#define QLA_FW_URL "ftp://ftp.qlogic.com/outgoing/linux/firmware/" |
Definition at line 4980 of file qla_init.c.
int __qla83xx_clear_drv_ack | ( | scsi_qla_host_t * | vha | ) |
Definition at line 3900 of file qla_init.c.
int __qla83xx_get_idc_control | ( | scsi_qla_host_t * | vha, |
uint32_t * | idc_control | ||
) |
Definition at line 4041 of file qla_init.c.
int __qla83xx_set_drv_ack | ( | scsi_qla_host_t * | vha | ) |
Definition at line 3872 of file qla_init.c.
int __qla83xx_set_idc_control | ( | scsi_qla_host_t * | vha, |
uint32_t | idc_control | ||
) |
Definition at line 4023 of file qla_init.c.
int qla2100_pci_config | ( | scsi_qla_host_t * | vha | ) |
qla2100_pci_config() - Setup ISP21xx PCI configuration registers. : HA context
Returns 0 on success.
Definition at line 634 of file qla_init.c.
int qla2300_pci_config | ( | scsi_qla_host_t * | vha | ) |
qla2300_pci_config() - Setup ISP23xx PCI configuration registers. : HA context
Returns 0 on success.
Definition at line 665 of file qla_init.c.
int qla24xx_chip_diag | ( | scsi_qla_host_t * | vha | ) |
qla24xx_chip_diag() - Test ISP24xx for proper operation. : HA context
Returns 0 on success.
Definition at line 1251 of file qla_init.c.
void qla24xx_config_rings | ( | struct scsi_qla_host * | vha | ) |
Definition at line 1767 of file qla_init.c.
int qla24xx_configure_vhba | ( | scsi_qla_host_t * | vha | ) |
Definition at line 5276 of file qla_init.c.
int qla24xx_load_risc | ( | scsi_qla_host_t * | vha, |
uint32_t * | srisc_addr | ||
) |
Definition at line 5193 of file qla_init.c.
int qla24xx_nvram_config | ( | scsi_qla_host_t * | vha | ) |
Definition at line 4634 of file qla_init.c.
int qla24xx_pci_config | ( | scsi_qla_host_t * | vha | ) |
qla24xx_pci_config() - Setup ISP24xx PCI configuration registers. : HA context
Returns 0 on success.
Definition at line 747 of file qla_init.c.
void qla24xx_reset_adapter | ( | scsi_qla_host_t * | vha | ) |
Definition at line 4587 of file qla_init.c.
void qla24xx_reset_chip | ( | scsi_qla_host_t * | vha | ) |
qla24xx_reset_chip() - Reset ISP24xx chip. : HA context
Returns 0 on success.
Definition at line 1105 of file qla_init.c.
int qla24xx_update_all_fcp_prio | ( | scsi_qla_host_t * | vha | ) |
Definition at line 5964 of file qla_init.c.
int qla24xx_update_fcport_fcp_prio | ( | scsi_qla_host_t * | vha, |
fc_port_t * | fcport | ||
) |
Definition at line 5913 of file qla_init.c.
void qla24xx_update_fw_options | ( | scsi_qla_host_t * | vha | ) |
Definition at line 1719 of file qla_init.c.
int qla25xx_pci_config | ( | scsi_qla_host_t * | vha | ) |
qla25xx_pci_config() - Setup ISP25xx PCI configuration registers. : HA context
Returns 0 on success.
Definition at line 791 of file qla_init.c.
int qla2x00_abort_isp | ( | scsi_qla_host_t * | vha | ) |
Definition at line 4300 of file qla_init.c.
void qla2x00_abort_isp_cleanup | ( | scsi_qla_host_t * | vha | ) |
Definition at line 4207 of file qla_init.c.
fc_port_t* qla2x00_alloc_fcport | ( | scsi_qla_host_t * | vha, |
gfp_t | flags | ||
) |
qla2x00_alloc_fcport() - Allocate a generic fcport. : HA context : allocation flags
Returns a pointer to the allocated fcport, or NULL, if none available.
Definition at line 2603 of file qla_init.c.
void qla2x00_alloc_fw_dump | ( | scsi_qla_host_t * | vha | ) |
Definition at line 1275 of file qla_init.c.
int qla2x00_async_adisc | ( | struct scsi_qla_host * | vha, |
fc_port_t * | fcport, | ||
uint16_t * | data | ||
) |
Definition at line 237 of file qla_init.c.
void qla2x00_async_adisc_done | ( | struct scsi_qla_host * | vha, |
fc_port_t * | fcport, | ||
uint16_t * | data | ||
) |
Definition at line 409 of file qla_init.c.
int qla2x00_async_login | ( | struct scsi_qla_host * | vha, |
fc_port_t * | fcport, | ||
uint16_t * | data | ||
) |
Definition at line 136 of file qla_init.c.
void qla2x00_async_login_done | ( | struct scsi_qla_host * | vha, |
fc_port_t * | fcport, | ||
uint16_t * | data | ||
) |
Definition at line 343 of file qla_init.c.
int qla2x00_async_logout | ( | struct scsi_qla_host * | vha, |
fc_port_t * | fcport | ||
) |
Definition at line 189 of file qla_init.c.
void qla2x00_async_logout_done | ( | struct scsi_qla_host * | vha, |
fc_port_t * | fcport, | ||
uint16_t * | data | ||
) |
Definition at line 401 of file qla_init.c.
Definition at line 302 of file qla_init.c.
int qla2x00_chip_diag | ( | scsi_qla_host_t * | vha | ) |
qla2x00_chip_diag() - Test chip for proper operation. : HA context
Returns 0 on success.
Definition at line 1127 of file qla_init.c.
void qla2x00_config_rings | ( | struct scsi_qla_host * | vha | ) |
Definition at line 1742 of file qla_init.c.
int qla2x00_fabric_login | ( | scsi_qla_host_t * | vha, |
fc_port_t * | fcport, | ||
uint16_t * | next_loopid | ||
) |
Definition at line 3541 of file qla_init.c.
int qla2x00_find_new_loop_id | ( | scsi_qla_host_t * | vha, |
fc_port_t * | dev | ||
) |
Definition at line 3432 of file qla_init.c.
unsigned long qla2x00_get_async_timeout | ( | struct scsi_qla_host * | vha | ) |
Definition at line 81 of file qla_init.c.
qla2x00_init_response_q_entries() - Initializes response queue entries. : HA context
Beginning of request ring has initialization control block already built by nvram config routine.
Returns 0 on success.
Definition at line 1621 of file qla_init.c.
int qla2x00_initialize_adapter | ( | scsi_qla_host_t * | vha | ) |
Definition at line 516 of file qla_init.c.
int qla2x00_load_risc | ( | scsi_qla_host_t * | vha, |
uint32_t * | srisc_addr | ||
) |
Definition at line 4983 of file qla_init.c.
int qla2x00_local_device_login | ( | scsi_qla_host_t * | vha, |
fc_port_t * | fcport | ||
) |
Definition at line 3685 of file qla_init.c.
int qla2x00_loop_resync | ( | scsi_qla_host_t * | vha | ) |
Definition at line 3715 of file qla_init.c.
int qla2x00_nvram_config | ( | scsi_qla_host_t * | vha | ) |
Definition at line 2260 of file qla_init.c.
int qla2x00_perform_loop_resync | ( | scsi_qla_host_t * | ha | ) |
Definition at line 3769 of file qla_init.c.
void qla2x00_quiesce_io | ( | scsi_qla_host_t * | vha | ) |
Definition at line 4183 of file qla_init.c.
void qla2x00_reset_adapter | ( | scsi_qla_host_t * | vha | ) |
Definition at line 4569 of file qla_init.c.
void qla2x00_reset_chip | ( | scsi_qla_host_t * | vha | ) |
qla2x00_reset_chip() - Reset ISP chip. : HA context
Returns 0 on success.
Definition at line 858 of file qla_init.c.
|
inline |
Definition at line 2179 of file qla_init.c.
Definition at line 66 of file qla_init.c.
Definition at line 47 of file qla_init.c.
void qla2x00_try_to_stop_firmware | ( | scsi_qla_host_t * | vha | ) |
Definition at line 5249 of file qla_init.c.
void qla2x00_update_fcport | ( | scsi_qla_host_t * | vha, |
fc_port_t * | fcport | ||
) |
Definition at line 3004 of file qla_init.c.
void qla2x00_update_fcports | ( | scsi_qla_host_t * | base_vha | ) |
Definition at line 3793 of file qla_init.c.
void qla2x00_update_fw_options | ( | scsi_qla_host_t * | vha | ) |
qla2x00_update_fw_options() - Read and process firmware options. : HA context
Returns 0 on success.
Definition at line 1643 of file qla_init.c.
int qla2xxx_mctp_dump | ( | scsi_qla_host_t * | vha | ) |
Definition at line 4121 of file qla_init.c.
int qla81xx_load_risc | ( | scsi_qla_host_t * | vha, |
uint32_t * | srisc_addr | ||
) |
Definition at line 5214 of file qla_init.c.
int qla81xx_nvram_config | ( | scsi_qla_host_t * | vha | ) |
Definition at line 5404 of file qla_init.c.
int qla81xx_reset_mpi | ( | scsi_qla_host_t * | vha | ) |
qla81xx_reset_mpi() - Reset's MPI FW via Write MPI Register MBC.
Returns 0 on success.
Definition at line 1001 of file qla_init.c.
void qla81xx_update_fw_options | ( | scsi_qla_host_t * | vha | ) |
Definition at line 5788 of file qla_init.c.
int qla82xx_restart_isp | ( | scsi_qla_host_t * | vha | ) |
Definition at line 5669 of file qla_init.c.
int qla83xx_check_driver_presence | ( | scsi_qla_host_t * | vha | ) |
Definition at line 4059 of file qla_init.c.
int qla83xx_clear_drv_ack | ( | scsi_qla_host_t * | vha | ) |
Definition at line 3916 of file qla_init.c.
Definition at line 3928 of file qla_init.c.
int qla83xx_get_idc_control | ( | scsi_qla_host_t * | vha, |
uint32_t * | idc_control | ||
) |
Definition at line 4047 of file qla_init.c.
void qla83xx_idc_audit | ( | scsi_qla_host_t * | vha, |
int | audit_type | ||
) |
Definition at line 3952 of file qla_init.c.
int qla83xx_initiating_reset | ( | scsi_qla_host_t * | vha | ) |
Definition at line 3982 of file qla_init.c.
int qla83xx_nic_core_fw_load | ( | scsi_qla_host_t * | vha | ) |
Definition at line 433 of file qla_init.c.
int qla83xx_nic_core_reset | ( | scsi_qla_host_t * | vha | ) |
Definition at line 4072 of file qla_init.c.
void qla83xx_reset_ownership | ( | scsi_qla_host_t * | vha | ) |
Definition at line 3821 of file qla_init.c.
int qla83xx_set_drv_ack | ( | scsi_qla_host_t * | vha | ) |
Definition at line 3888 of file qla_init.c.
int qla83xx_set_idc_control | ( | scsi_qla_host_t * | vha, |
uint32_t | idc_control | ||
) |
Definition at line 4029 of file qla_init.c.
void qla84xx_put_chip | ( | struct scsi_qla_host * | vha | ) |
Definition at line 5377 of file qla_init.c.