Print this page
XXXX introduce drv_sectohz
*** 6790,6801 ****
}
if ((scsipkt->pkt_flags & FLAG_NOINTR) == 0)
scsi_hba_pkt_comp(scsipkt);
return;
} else if (rval == SATA_RETRY) {
! delay(drv_usectohz(1000000 *
! DOWNLOAD_WAIT_INTERVAL_SECS));
continue;
} else /* failed - no reason to retry */
break;
}
--- 6790,6800 ----
}
if ((scsipkt->pkt_flags & FLAG_NOINTR) == 0)
scsi_hba_pkt_comp(scsipkt);
return;
} else if (rval == SATA_RETRY) {
! delay(drv_sectohz(DOWNLOAD_WAIT_INTERVAL_SECS));
continue;
} else /* failed - no reason to retry */
break;
}