Print this page
First pass at 4310

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/scsi/adapters/mpt_sas/mptsas_impl.c
          +++ new/usr/src/uts/common/io/scsi/adapters/mpt_sas/mptsas_impl.c
↓ open down ↓ 1195 lines elided ↑ open up ↑
1196 1196          slots->m_slot[MPTSAS_TM_SLOT(mpt)] = NULL;
1197 1197  
1198 1198          /*
1199 1199           * If we lost our task management command
1200 1200           * we need to reset the ioc
1201 1201           */
1202 1202          if (rval == FALSE) {
1203 1203                  mptsas_log(mpt, CE_WARN, "mptsas_ioc_task_management failed "
1204 1204                      "try to reset ioc to recovery!");
1205 1205                  mpt->m_softstate &= ~MPTSAS_SS_MSG_UNIT_RESET;
1206      -                if (mptsas_restart_ioc(mpt)) {
     1206 +                /* Let's try this instead of the old codepath commented below... */
     1207 +                ddi_taskq_dispatch(mpt->m_reset_taskq, mptsas_handle_restart_ioc, (void *)mpt, DDI_SLEEP);
     1208 +                mptsas_log(mpt,CE_WARN,"mptsas_restart_ioc dispatch attempted");
     1209 +                rval = FAILED;
     1210 +/*              if (mptsas_restart_ioc(mpt)) {
1207 1211                          mptsas_log(mpt, CE_WARN, "mptsas_restart_ioc failed");
1208 1212                          rval = FAILED;
1209 1213                  }
     1214 +*/
1210 1215          }
1211 1216  
1212 1217          return (rval);
1213 1218  }
1214 1219  
1215 1220  /*
1216 1221   * Complete firmware download frame for v2.0 cards.
1217 1222   */
1218 1223  static void
1219 1224  mptsas_uflash2(pMpi2FWDownloadRequest fwdownload,
↓ open down ↓ 1581 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX