Print this page
XXXX introduce drv_sectohz
*** 918,928 ****
* the mailbox.
*/
if (wait_time < sbbc_mbox_min_timeout)
wait_time = sbbc_mbox_default_timeout;
! stop_time = ddi_get_lbolt() + wait_time * drv_usectohz(MICROSEC);
/*
* If there is a message being processed, sleep until it is our turn.
*/
mutex_enter(&outbox_queue_lock);
--- 918,928 ----
* the mailbox.
*/
if (wait_time < sbbc_mbox_min_timeout)
wait_time = sbbc_mbox_default_timeout;
! stop_time = ddi_get_lbolt() + drv_sectohz(wait_time);
/*
* If there is a message being processed, sleep until it is our turn.
*/
mutex_enter(&outbox_queue_lock);