Print this page
XXXX introduce drv_sectohz

@@ -1061,11 +1061,11 @@
 
         con_log(CL_ANN1, (CE_CONT, "[cmd = %d] ", frame_hdr->cmd));
         con_log(CL_ANN1, (CE_CONT, "[cmd  Status= %x] ",
             frame_hdr->cmd_status));
 
-        timeout = drv_usectohz(MFI_POLL_TIMEOUT_SECS * MICROSEC);
+        timeout = drv_sectohz(MFI_POLL_TIMEOUT_SECS);
         do {
                 if (ddi_get8(cmd->frame_dma_obj.acc_handle,
                     &mfiFrameInit2->cmd_status) != MFI_CMD_STATUS_POLL_MODE)
                         break;
                 delay(1);