struct scsi_cmnd *scmnd = csio_scsi_cmnd(req);
 
        /* Check for Task Management */
-       if (likely(scmnd->SCp.Message == 0)) {
+       if (likely(csio_priv(scmnd)->fc_tm_flags == 0)) {
                int_to_scsilun(scmnd->device->lun, &fcp_cmnd->fc_lun);
                fcp_cmnd->fc_tm_flags = 0;
                fcp_cmnd->fc_cmdref = 0;
        } else {
                memset(fcp_cmnd, 0, sizeof(*fcp_cmnd));
                int_to_scsilun(scmnd->device->lun, &fcp_cmnd->fc_lun);
-               fcp_cmnd->fc_tm_flags = (uint8_t)scmnd->SCp.Message;
+               fcp_cmnd->fc_tm_flags = csio_priv(scmnd)->fc_tm_flags;
        }
 }
 
 
        /* Needed during abort */
        cmnd->host_scribble = (unsigned char *)ioreq;
-       cmnd->SCp.Message = 0;
+       csio_priv(cmnd)->fc_tm_flags = 0;
 
        /* Kick off SCSI IO SM on the ioreq */
        spin_lock_irqsave(&hw->lock, flags);
                      req, req->wr_status);
 
        /* Cache FW return status */
-       cmnd->SCp.Status = req->wr_status;
+       csio_priv(cmnd)->wr_status = req->wr_status;
 
        /* Special handling based on FCP response */
 
                /* Modify return status if flags indicate success */
                if (flags & FCP_RSP_LEN_VAL)
                        if (rsp_info->rsp_code == FCP_TMF_CMPL)
-                               cmnd->SCp.Status = FW_SUCCESS;
+                               csio_priv(cmnd)->wr_status = FW_SUCCESS;
 
                csio_dbg(hw, "TM FCP rsp code: %d\n", rsp_info->rsp_code);
        }
 
        csio_scsi_cmnd(ioreq)   = cmnd;
        cmnd->host_scribble     = (unsigned char *)ioreq;
-       cmnd->SCp.Status        = 0;
+       csio_priv(cmnd)->wr_status = 0;
 
-       cmnd->SCp.Message       = FCP_TMF_LUN_RESET;
+       csio_priv(cmnd)->fc_tm_flags = FCP_TMF_LUN_RESET;
        ioreq->tmo              = CSIO_SCSI_LUNRST_TMO_MS / 1000;
 
        /*
        }
 
        /* LUN reset returned, check cached status */
-       if (cmnd->SCp.Status != FW_SUCCESS) {
+       if (csio_priv(cmnd)->wr_status != FW_SUCCESS) {
                csio_err(hw, "LUN reset failed (%d:%llu), status: %d\n",
-                        cmnd->device->id, cmnd->device->lun, cmnd->SCp.Status);
+                        cmnd->device->id, cmnd->device->lun,
+                        csio_priv(cmnd)->wr_status);
                goto fail;
        }
 
        .name                   = CSIO_DRV_DESC,
        .proc_name              = KBUILD_MODNAME,
        .queuecommand           = csio_queuecommand,
+       .cmd_size               = sizeof(struct csio_cmd_priv),
        .eh_timed_out           = fc_eh_timed_out,
        .eh_abort_handler       = csio_eh_abort_handler,
        .eh_device_reset_handler = csio_eh_lun_reset_handler,