XXXX introduce drv_sectohz
@@ -1446,11 +1446,11 @@ *state = bd->d_state; mutex_exit(&bd->d_statemutex); break; } - when = drv_usectohz(1000000); + 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); }