summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/dev
diff options
context:
space:
mode:
authorcheloha <cheloha@cvs.openbsd.org>2020-02-20 02:05:19 +0000
committercheloha <cheloha@cvs.openbsd.org>2020-02-20 02:05:19 +0000
commit5cf4a2079ee414b3c1e84c40e2bfdaaf7d0e15ab (patch)
treeb596a14ef76c0a1a492146748019978f5f7a25f2 /sys/arch/sparc64/dev
parent3eb8a1fd89604d713aa9be4e34e3034c13f4f383 (diff)
fdc(4/sparc64): timeout_add(9) -> timeout_add_msec(9)
Copy a change from dev/isa/fd.c to sparc64's floppy driver.
Diffstat (limited to 'sys/arch/sparc64/dev')
-rw-r--r--sys/arch/sparc64/dev/fd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc64/dev/fd.c b/sys/arch/sparc64/dev/fd.c
index 8d548062f83..12d64816cdd 100644
--- a/sys/arch/sparc64/dev/fd.c
+++ b/sys/arch/sparc64/dev/fd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fd.c,v 1.50 2018/12/27 11:06:38 claudio Exp $ */
+/* $OpenBSD: fd.c,v 1.51 2020/02/20 02:05:18 cheloha Exp $ */
/* $NetBSD: fd.c,v 1.112 2003/08/07 16:29:35 agc Exp $ */
/*-
@@ -1632,7 +1632,7 @@ loop:
fdc->sc_state = RECALCOMPLETE;
if (fdc->sc_flags & FDC_NEEDHEADSETTLE) {
/* allow 1/30 second for heads to settle */
- timeout_add(&fdc->fdcpseudointr_to, hz / 30);
+ timeout_add_msec(&fdc->fdcpseudointr_to, 1000 / 30);
return (1); /* will return later */
}