summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/dev/fd.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/sparc64/dev/fd.c')
-rw-r--r--sys/arch/sparc64/dev/fd.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/arch/sparc64/dev/fd.c b/sys/arch/sparc64/dev/fd.c
index 4cd37048dcd..f7ea60ad2e9 100644
--- a/sys/arch/sparc64/dev/fd.c
+++ b/sys/arch/sparc64/dev/fd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fd.c,v 1.26 2008/10/15 19:12:19 blambert Exp $ */
+/* $OpenBSD: fd.c,v 1.27 2009/07/24 08:07:39 blambert Exp $ */
/* $NetBSD: fd.c,v 1.112 2003/08/07 16:29:35 agc Exp $ */
/*-
@@ -1340,7 +1340,7 @@ loop:
fdc->sc_state = MOTORWAIT;
if ((fdc->sc_flags & FDC_NEEDMOTORWAIT) != 0) { /*XXX*/
/* Allow .25s for motor to stabilize. */
- timeout_add(&fd->sc_motoron_to, hz / 4);
+ timeout_add_msec(&fd->sc_motoron_to, 250);
} else {
fd->sc_flags &= ~FD_MOTOR_WAIT;
goto loop;
@@ -1508,7 +1508,7 @@ loop:
fdc->sc_state = SEEKCOMPLETE;
if (fdc->sc_flags & FDC_NEEDHEADSETTLE) {
/* allow 1/50 second for heads to settle */
- timeout_add(&fdc->fdcpseudointr_to, hz / 50);
+ timeout_add_msec(&fdc->fdcpseudointr_to, 20);
return (1); /* will return later */
}
/*FALLTHROUGH*/
@@ -1539,7 +1539,7 @@ loop:
fdc->sc_state = IOCLEANUPWAIT;
fdc->sc_nstat = 0;
/* 1/10 second should be enough */
- timeout_add(&fdc->fdctimeout_to, hz / 10);
+ timeout_add_msec(&fdc->fdctimeout_to, 100);
return (1);
case IOCLEANUPTIMEDOUT:
@@ -1648,7 +1648,7 @@ loop:
fdc->sc_nstat = 0;
fdc->sc_itask = FDC_ITASK_SENSEI;
fdc->sc_state = RESETCOMPLETE;
- timeout_add(&fdc->fdctimeout_to, hz / 2);
+ timeout_add_msec(&fdc->fdctimeout_to, 500);
fdc_reset(fdc);
return (1); /* will return later */