DEBUG2_3_11(printk("qla2x00_mailbox_command(%ld): "
"timeout schedule isp_abort_needed.\n",
ha->host_no);)
+ qla_printk(KERN_WARNING, ha,
+ "Mailbox command timeout occured. Scheduling ISP "
+ "abort.\n");
set_bit(ISP_ABORT_NEEDED, &ha->dpc_flags);
if (ha->dpc_wait && !ha->dpc_active)
up(ha->dpc_wait);
"calling abort_isp\n", ha->host_no);)
DEBUG2_3_11(printk("qla2x00_mailbox_command(%ld): "
"timeout calling abort_isp\n", ha->host_no);)
+ qla_printk(KERN_WARNING, ha,
+ "Mailbox command timeout occured. Issuing ISP "
+ "abort.\n");
set_bit(ABORT_ISP_ACTIVE, &ha->dpc_flags);
clear_bit(ISP_ABORT_NEEDED, &ha->dpc_flags);
if (atomic_read(&ha->loop_state) == LOOP_DOWN ||
atomic_read(&fcport->state) == FCS_DEVICE_LOST) {
- /* v2.19.8 Ignore abort request if port is down */
return 1;
}
qla2x00_marker(ha, loop_id, lun, MK_SYNC_ID_LUN);
if (rval != QLA_SUCCESS) {
+ qla_printk(KERN_WARNING, ha,
+ "Failed Abort Device Mailbox command. Scheduling ISP "
+ "abort.\n");
set_bit(ISP_ABORT_NEEDED, &ha->dpc_flags);
if (ha->dpc_wait && !ha->dpc_active)
up(ha->dpc_wait);
* BIT_1 = mailbox error.
*/
uint8_t
-qla2x00_get_link_status(scsi_qla_host_t *ha, uint8_t loop_id,
+qla2x00_get_link_status(scsi_qla_host_t *ha, uint16_t loop_id,
link_stat_t *ret_buf, uint16_t *status)
{
int rval;