Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/alpha/isa Fallout from callout.



details:   https://anonhg.NetBSD.org/src/rev/6c00b4c16362
branches:  trunk
changeset: 484048:6c00b4c16362
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Fri Mar 24 01:04:11 2000 +0000

description:
Fallout from callout.

diffstat:

 sys/arch/alpha/isa/fd.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 4034735b320a -r 6c00b4c16362 sys/arch/alpha/isa/fd.c
--- a/sys/arch/alpha/isa/fd.c   Thu Mar 23 22:44:42 2000 +0000
+++ b/sys/arch/alpha/isa/fd.c   Fri Mar 24 01:04:11 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fd.c,v 1.9 2000/03/23 06:32:33 thorpej Exp $   */
+/*     $NetBSD: fd.c,v 1.10 2000/03/24 01:04:11 thorpej Exp $  */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -721,7 +721,7 @@
 
        biodone(bp);
        /* turn off motor 5s from now */
-       timeout(&fd->sc_motor_ch, 5 * hz, fd_motor_off, fd);
+       callout_reset(&fd->sc_motor_ch, 5 * hz, fd_motor_off, fd);
        fdc->sc_state = DEVIDLE;
 }
 
@@ -1040,7 +1040,7 @@
                        fd_set_motor(fdc, 0);
                        fdc->sc_state = MOTORWAIT;
                        /* Allow .25s for motor to stabilize. */
-                       callout_reset(&fd->fd_motor_ch, hz / 4,
+                       callout_reset(&fd->sc_motor_ch, hz / 4,
                            fd_motor_on, fd);
                        return 1;
                }



Home | Main Index | Thread Index | Old Index