Print this page
XXXX introduce drv_sectohz

*** 1446,1456 **** *state = bd->d_state; mutex_exit(&bd->d_statemutex); break; } ! when = drv_usectohz(1000000); if (cv_reltimedwait_sig(&bd->d_statecv, &bd->d_statemutex, when, TR_CLOCK_TICK) == 0) { mutex_exit(&bd->d_statemutex); return (EINTR); } --- 1446,1456 ---- *state = bd->d_state; mutex_exit(&bd->d_statemutex); break; } ! when = drv_sectohz(1); if (cv_reltimedwait_sig(&bd->d_statecv, &bd->d_statemutex, when, TR_CLOCK_TICK) == 0) { mutex_exit(&bd->d_statemutex); return (EINTR); }