Print this page
XXXX introduce drv_sectohz
*** 1561,1572 ****
/*
* since this is a blocking call, sleep for some time
* to allow SA to transition from busy state (if busy)
*/
if (mad_status == MAD_STATUS_BUSY)
! delay(drv_usectohz(
! IBMF_SAA_BUSY_RETRY_SLEEP_SECS * 1000000));
}
if (ibmf_status != IBMF_SUCCESS) {
IBMF_TRACE_2(IBMF_TNF_DEBUG, DPRINT_L2,
--- 1561,1571 ----
/*
* since this is a blocking call, sleep for some time
* to allow SA to transition from busy state (if busy)
*/
if (mad_status == MAD_STATUS_BUSY)
! delay(drv_sectohz(IBMF_SAA_BUSY_RETRY_SLEEP_SECS));
}
if (ibmf_status != IBMF_SUCCESS) {
IBMF_TRACE_2(IBMF_TNF_DEBUG, DPRINT_L2,