Print this page
XXXX introduce drv_sectohz
*** 1946,1956 ****
case FMS_DELAY:
fcp->c_mtrstate[unit] = FMS_ON;
break;
case FMS_KILLST:
fcp->c_motort[unit] = timeout(fdmotort, (void *)fjp,
! drv_usectohz(1000000));
fcp->c_mtrstate[unit] = FMS_IDLE;
break;
case FMS_IDLE:
fcp->c_digout &= ~motorbit;
outb(fcp->c_regbase + FCR_DOR, fcp->c_digout);
--- 1946,1956 ----
case FMS_DELAY:
fcp->c_mtrstate[unit] = FMS_ON;
break;
case FMS_KILLST:
fcp->c_motort[unit] = timeout(fdmotort, (void *)fjp,
! drv_sectohz(1));
fcp->c_mtrstate[unit] = FMS_IDLE;
break;
case FMS_IDLE:
fcp->c_digout &= ~motorbit;
outb(fcp->c_regbase + FCR_DOR, fcp->c_digout);