Print this page
XXXX introduce drv_sectohz
*** 4119,4129 ****
* hphase goes to VH_DONE(below) or channel is reset due to
* errors or vgen_ldc_uninit() is invoked(vgen_stop).
*/
ASSERT(ldcp->htid == 0);
ldcp->htid = timeout(vgen_hwatchdog, (caddr_t)ldcp,
! drv_usectohz(vgen_hwd_interval * MICROSEC));
/* Phase 1 involves negotiating the version */
rv = vgen_send_version_negotiate(ldcp);
break;
--- 4119,4129 ----
* hphase goes to VH_DONE(below) or channel is reset due to
* errors or vgen_ldc_uninit() is invoked(vgen_stop).
*/
ASSERT(ldcp->htid == 0);
ldcp->htid = timeout(vgen_hwatchdog, (caddr_t)ldcp,
! drv_sectohz(vgen_hwd_interval));
/* Phase 1 involves negotiating the version */
rv = vgen_send_version_negotiate(ldcp);
break;