mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-18 19:21:26 +00:00
Merge r7451 from trunk
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7704 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -341,7 +341,7 @@ qla2x00_process_els(struct bsg_job *bsg_job)
|
||||
if (bsg_job->request_payload.sg_cnt > 1 ||
|
||||
bsg_job->reply_payload.sg_cnt > 1) {
|
||||
ql_dbg(ql_dbg_user, vha, 0x7002,
|
||||
"Multiple SG's are not suppored for ELS requests, "
|
||||
"Multiple SG's are not supported for ELS requests, "
|
||||
"request_sg_cnt=%x reply_sg_cnt=%x.\n",
|
||||
bsg_job->request_payload.sg_cnt,
|
||||
bsg_job->reply_payload.sg_cnt);
|
||||
|
||||
@@ -2280,7 +2280,7 @@ ql_dbg(uint32_t level, scsi_qla_host_t *vha, int32_t id, const char *fmt, ...)
|
||||
|
||||
/*
|
||||
* This function is for formatting and logging debug information.
|
||||
* It is to be used when vha is not available and pci is availble,
|
||||
* It is to be used when vha is not available and pci is available,
|
||||
* i.e., before host allocation. It formats the message and logs it
|
||||
* to the messages file.
|
||||
* parameters:
|
||||
@@ -2369,7 +2369,7 @@ ql_log(uint32_t level, scsi_qla_host_t *vha, int32_t id, const char *fmt, ...)
|
||||
|
||||
/*
|
||||
* This function is for formatting and logging log messages.
|
||||
* It is to be used when vha is not available and pci is availble,
|
||||
* It is to be used when vha is not available and pci is available,
|
||||
* i.e., before host allocation. It formats the message and logs
|
||||
* it to the messages file. All the messages are logged irrespective
|
||||
* of the value of ql2xextended_error_logging.
|
||||
|
||||
@@ -2175,7 +2175,7 @@ struct ct_sns_pkt {
|
||||
};
|
||||
|
||||
/*
|
||||
* SNS command structures -- for 2200 compatability.
|
||||
* SNS command structures -- for 2200 compatibility.
|
||||
*/
|
||||
#define RFT_ID_SNS_SCMD_LEN 22
|
||||
#define RFT_ID_SNS_CMD_SIZE 60
|
||||
|
||||
@@ -1143,7 +1143,7 @@ struct mid_db_entry_24xx {
|
||||
/*
|
||||
* Virtual Port Control IOCB
|
||||
*/
|
||||
#define VP_CTRL_IOCB_TYPE 0x30 /* Vitual Port Control entry. */
|
||||
#define VP_CTRL_IOCB_TYPE 0x30 /* Virtual Port Control entry. */
|
||||
struct vp_ctrl_entry_24xx {
|
||||
uint8_t entry_type; /* Entry type. */
|
||||
uint8_t entry_count; /* Entry count. */
|
||||
@@ -1179,7 +1179,7 @@ struct vp_ctrl_entry_24xx {
|
||||
/*
|
||||
* Modify Virtual Port Configuration IOCB
|
||||
*/
|
||||
#define VP_CONFIG_IOCB_TYPE 0x31 /* Vitual Port Config entry. */
|
||||
#define VP_CONFIG_IOCB_TYPE 0x31 /* Virtual Port Config entry. */
|
||||
struct vp_config_entry_24xx {
|
||||
uint8_t entry_type; /* Entry type. */
|
||||
uint8_t entry_count; /* Entry count. */
|
||||
|
||||
@@ -4832,7 +4832,7 @@ qla2x00_load_risc(scsi_qla_host_t *vha, uint32_t *srisc_addr)
|
||||
blob = qla2x00_request_firmware(vha);
|
||||
if (!blob) {
|
||||
ql_log(ql_log_info, vha, 0x0083,
|
||||
"Fimware image unavailable.\n");
|
||||
"Firmware image unavailable.\n");
|
||||
ql_log(ql_log_info, vha, 0x0084,
|
||||
"Firmware images can be retrieved from: "QLA_FW_URL ".\n");
|
||||
return QLA_FUNCTION_FAILED;
|
||||
@@ -5053,7 +5053,7 @@ qla24xx_load_risc_blob(scsi_qla_host_t *vha, uint32_t *srisc_addr)
|
||||
blob = qla2x00_request_firmware(vha);
|
||||
if (!blob) {
|
||||
ql_log(ql_log_warn, vha, 0x0090,
|
||||
"Fimware image unavailable.\n");
|
||||
"Firmware image unavailable.\n");
|
||||
ql_log(ql_log_warn, vha, 0x0091,
|
||||
"Firmware images can be retrieved from: "
|
||||
QLA_FW_URL ".\n");
|
||||
|
||||
@@ -1913,7 +1913,7 @@ qla2x00_alloc_iocbs(scsi_qla_host_t *vha, srb_t *sp)
|
||||
}
|
||||
if (index == MAX_OUTSTANDING_COMMANDS) {
|
||||
ql_log(ql_log_warn, vha, 0x700b,
|
||||
"No room on oustanding cmd array.\n");
|
||||
"No room on outstanding cmd array.\n");
|
||||
goto queuing_error;
|
||||
}
|
||||
|
||||
|
||||
@@ -305,7 +305,7 @@ qla81xx_idc_event(scsi_qla_host_t *vha, uint16_t aen, uint16_t descr)
|
||||
event[aen & 0xff], mb[0], mb[1], mb[2], mb[3],
|
||||
mb[4], mb[5], mb[6]);
|
||||
|
||||
/* Acknowledgement needed? [Notify && non-zero timeout]. */
|
||||
/* Acknowledgment needed? [Notify && non-zero timeout]. */
|
||||
timeout = (descr >> 8) & 0xf;
|
||||
if (aen != MBA_IDC_NOTIFY || !timeout)
|
||||
return;
|
||||
|
||||
@@ -701,7 +701,7 @@ qla25xx_create_req_que(struct qla_hw_data *ha, uint16_t options,
|
||||
&req->dma, GFP_KERNEL);
|
||||
if (req->ring == NULL) {
|
||||
ql_log(ql_log_fatal, base_vha, 0x00da,
|
||||
"Failed to allocte memory for request_ring.\n");
|
||||
"Failed to allocate memory for request_ring.\n");
|
||||
goto que_failed;
|
||||
}
|
||||
|
||||
|
||||
@@ -1283,7 +1283,7 @@ qla82xx_pinit_from_rom(scsi_qla_host_t *vha)
|
||||
|
||||
if (off == ADDR_ERROR) {
|
||||
ql_log(ql_log_fatal, vha, 0x0116,
|
||||
"Unknow addr: 0x%08lx.\n", buf[i].addr);
|
||||
"Unknown addr: 0x%08lx.\n", buf[i].addr);
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -4009,7 +4009,7 @@ qla82xx_minidump_process_rdmem(scsi_qla_host_t *vha,
|
||||
|
||||
if (r_addr & 0xf) {
|
||||
ql_log(ql_log_warn, vha, 0xb033,
|
||||
"Read addr 0x%x not 16 bytes alligned\n", r_addr);
|
||||
"Read addr 0x%x not 16 bytes aligned\n", r_addr);
|
||||
return rval;
|
||||
}
|
||||
|
||||
|
||||
@@ -3008,7 +3008,7 @@ qla24xx_read_fcp_prio_cfg(scsi_qla_host_t *vha)
|
||||
ha->fcp_prio_cfg = vmalloc(FCP_PRIO_CFG_SIZE);
|
||||
if (!ha->fcp_prio_cfg) {
|
||||
ql_log(ql_log_warn, vha, 0x00d5,
|
||||
"Unable to allocate memory for fcp priorty data (%x).\n",
|
||||
"Unable to allocate memory for fcp priority data (%x).\n",
|
||||
FCP_PRIO_CFG_SIZE);
|
||||
return QLA_FUNCTION_FAILED;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user