diff options
author | 2020-02-20 02:05:18 +0000 | |
---|---|---|
committer | 2020-02-20 02:05:18 +0000 | |
commit | b5d79655024bedf5f6e2a16d363d5ca21bc3f36c (patch) | |
tree | 8c0abd92c9c84ab2da97a948e804ebc89e0b6b09 /sys | |
parent | Backout revision 1.190 partially. That part was an unintended change which (diff) | |
download | wireguard-openbsd-b5d79655024bedf5f6e2a16d363d5ca21bc3f36c.tar.xz wireguard-openbsd-b5d79655024bedf5f6e2a16d363d5ca21bc3f36c.zip |
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')
-rw-r--r-- | sys/arch/sparc64/dev/fd.c | 4 |
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 */ } |