summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/dev/fd.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/sparc/dev/fd.c')
-rw-r--r--sys/arch/sparc/dev/fd.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/arch/sparc/dev/fd.c b/sys/arch/sparc/dev/fd.c
index 6f0cd599152..1cb6a5c2e34 100644
--- a/sys/arch/sparc/dev/fd.c
+++ b/sys/arch/sparc/dev/fd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fd.c,v 1.62 2008/06/26 05:42:13 ray Exp $ */
+/* $OpenBSD: fd.c,v 1.63 2008/10/15 19:12:19 blambert Exp $ */
/* $NetBSD: fd.c,v 1.51 1997/05/24 20:16:19 pk Exp $ */
/*-
@@ -811,7 +811,7 @@ fdfinish(fd, bp)
biodone(bp);
/* turn off motor 5s from now */
- timeout_add(&fd->fd_motor_off_to, 5 * hz);
+ timeout_add_sec(&fd->fd_motor_off_to, 5);
fdc->sc_state = DEVIDLE;
}
@@ -1359,7 +1359,7 @@ loop:
fd->sc_dk.dk_seek++;
disk_busy(&fd->sc_dk);
- timeout_add(&fdc->fdctimeout_to, 4 * hz);
+ timeout_add_sec(&fdc->fdctimeout_to, 4);
/* specify command */
FDC_WRFIFO(fdc, NE7CMD_SPECIFY);
@@ -1421,7 +1421,7 @@ loop:
disk_busy(&fd->sc_dk);
/* allow 3 seconds for operation */
- timeout_add(&fdc->fdctimeout_to, 3 * hz);
+ timeout_add_sec(&fdc->fdctimeout_to, 3);
if (finfo != NULL) {
/* formatting */
@@ -1604,7 +1604,7 @@ loop:
fdc->sc_state = RECALWAIT;
fdc->sc_itask = FDC_ITASK_SENSEI;
fdc->sc_nstat = 0;
- timeout_add(&fdc->fdctimeout_to, 5 * hz);
+ timeout_add_sec(&fdc->fdctimeout_to, 5);
/* recalibrate function */
FDC_WRFIFO(fdc, NE7CMD_RECAL);
FDC_WRFIFO(fdc, fd->sc_drive);