Linux Kernel
3.7.1
|
#include <scsi/iscsi_if.h>
#include "ql4_def.h"
#include "ql4_glbl.h"
#include "ql4_dbg.h"
#include "ql4_inline.h"
Go to the source code of this file.
Macros | |
#define | QL4_LOCK_DRVR_WAIT 60 |
#define | QL4_LOCK_DRVR_SLEEP 1 |
#define QL4_LOCK_DRVR_SLEEP 1 |
#define QL4_LOCK_DRVR_WAIT 60 |
int ql4xxx_lock_drvr_wait | ( | struct scsi_qla_host * | a | ) |
Definition at line 731 of file ql4_init.c.
void qla4_8xxx_pci_config | ( | struct scsi_qla_host * | ha | ) |
qla4_8xxx_pci_config() - Setup ISP82xx PCI configuration registers. : HA context
Definition at line 627 of file ql4_init.c.
void qla4xxx_alloc_fw_dump | ( | struct scsi_qla_host * | ha | ) |
qla4xxx_alloc_fw_dump - Allocate memory for minidump data. : pointer to host adapter structure.
Definition at line 291 of file ql4_init.c.
Definition at line 1040 of file ql4_init.c.
int qla4xxx_ddb_change | ( | struct scsi_qla_host * | ha, |
uint32_t | fw_ddb_index, | ||
struct ddb_entry * | ddb_entry, | ||
uint32_t | state | ||
) |
Definition at line 967 of file ql4_init.c.
int qla4xxx_flash_ddb_change | ( | struct scsi_qla_host * | ha, |
uint32_t | fw_ddb_index, | ||
struct ddb_entry * | ddb_entry, | ||
uint32_t | state | ||
) |
Definition at line 1061 of file ql4_init.c.
void qla4xxx_free_ddb | ( | struct scsi_qla_host * | ha, |
struct ddb_entry * | ddb_entry | ||
) |
qla4xxx_free_ddb - deallocate ddb : pointer to host adapter structure. : pointer to device database entry
This routine marks a DDB entry INVALID
Definition at line 50 of file ql4_init.c.
void qla4xxx_free_ddb_index | ( | struct scsi_qla_host * | ha | ) |
qla4xxx_free_ddb_index - Free DDBs reserved by firmware : pointer to adapter structure
Since firmware is not running in autoconnect mode the DDB indices should be freed so that when login happens from user space there are free DDB indices available.
Definition at line 883 of file ql4_init.c.
int qla4xxx_get_sys_info | ( | struct scsi_qla_host * | ha | ) |
qla4xxx_get_sys_info - validate adapter MAC address(es) : pointer to host adapter structure.
Definition at line 150 of file ql4_init.c.
int qla4xxx_init_rings | ( | struct scsi_qla_host * | ha | ) |
qla4xxx_init_rings - initialize hw queues : pointer to host adapter structure.
This routine initializes the internal queues for the specified adapter. The QLA4010 requires us to restart the queues at index 0. The QLA4000 doesn't care, so just default to QLA4010's requirement.
Definition at line 86 of file ql4_init.c.
int qla4xxx_initialize_adapter | ( | struct scsi_qla_host * | ha, |
int | is_reset | ||
) |
qla4xxx_initialize_adapter - initiailizes hba : Pointer to host adapter structure.
This routine parforms all of the steps necessary to initialize the adapter.
Definition at line 923 of file ql4_init.c.
void qla4xxx_login_flash_ddb | ( | struct iscsi_cls_session * | cls_session | ) |
qla4xxx_login_flash_ddb - Login to target (DDB) : Pointer to the session to login
This routine logins to the target. Issues setddb and conn open mbx
Definition at line 1169 of file ql4_init.c.
void qla4xxx_pci_config | ( | struct scsi_qla_host * | ha | ) |
Definition at line 632 of file ql4_init.c.
int qla4xxx_process_ddb_changed | ( | struct scsi_qla_host * | ha, |
uint32_t | fw_ddb_index, | ||
uint32_t | state, | ||
uint32_t | conn_err | ||
) |
qla4xxx_process_ddb_changed - process ddb state change - Pointer to host adapter structure. - Firmware's device database index - Device state
This routine processes a Decive Database Changed AEN Event.
Definition at line 1132 of file ql4_init.c.
int qla4xxx_start_firmware | ( | struct scsi_qla_host * | ha | ) |
qla4xxx_start_firmware - starts qla4xxx firmware : Pointer to host adapter structure.
This routine performs the necessary steps to start the firmware for the QLA4010 adapter.
Definition at line 763 of file ql4_init.c.