Print this page
XXXX Nexenta fixes for mpt_sas(7d)
@@ -280,11 +280,10 @@
(void) ddi_dma_sync(mpt->m_dma_req_frame_hdl, 0, 0,
DDI_DMA_SYNC_FORDEV);
request_desc_low = (cmd->cmd_slot << 16) +
MPI2_REQ_DESCRIPT_FLAGS_DEFAULT_TYPE;
cmd->cmd_rfm = NULL;
- mpt->m_active->m_slot[cmd->cmd_slot] = cmd;
MPTSAS_START_CMD(mpt, request_desc_low, 0);
if ((mptsas_check_dma_handle(mpt->m_dma_req_frame_hdl) !=
DDI_SUCCESS) ||
(mptsas_check_acc_handle(mpt->m_acc_req_frame_hdl) !=
DDI_SUCCESS)) {
@@ -1322,11 +1321,10 @@
(void) ddi_dma_sync(mpt->m_dma_req_frame_hdl, 0, 0,
DDI_DMA_SYNC_FORDEV);
request_desc_low = (cmd->cmd_slot << 16) +
MPI2_REQ_DESCRIPT_FLAGS_DEFAULT_TYPE;
cmd->cmd_rfm = NULL;
- mpt->m_active->m_slot[cmd->cmd_slot] = cmd;
MPTSAS_START_CMD(mpt, request_desc_low, 0);
rvalue = 0;
(void) cv_reltimedwait(&mpt->m_fw_cv, &mpt->m_mutex,
drv_usectohz(60 * MICROSEC), TR_CLOCK_TICK);