Source-Changes-HG archive

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

[src/netbsd-1-5]: src/sys/arch/sh3/dev Pull up revision 1.11 (approved by tho...



details:   https://anonhg.NetBSD.org/src/rev/5747b26e83f3
branches:  netbsd-1-5
changeset: 488970:5747b26e83f3
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Tue Aug 08 17:20:46 2000 +0000

description:
Pull up revision 1.11 (approved by thorpej):

 fix old callout interface to new callout interface (callout_reset())

diffstat:

 sys/arch/sh3/dev/scif.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 9316cb03e1d1 -r 5747b26e83f3 sys/arch/sh3/dev/scif.c
--- a/sys/arch/sh3/dev/scif.c   Tue Aug 08 16:55:54 2000 +0000
+++ b/sys/arch/sh3/dev/scif.c   Tue Aug 08 17:20:46 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: scif.c,v 1.10 2000/06/19 09:30:35 msaitoh Exp $ */
+/* $NetBSD: scif.c,v 1.10.2.1 2000/08/08 17:20:46 msaitoh Exp $ */
 
 /*-
  * Copyright (C) 1999 T.Horiuchi and SAITOH Masanobu.  All rights reserved.
@@ -1139,7 +1139,7 @@
        if (cc == scif_rbuf_size) {
                sc->sc_floods++;
                if (sc->sc_errors++ == 0)
-                       callout(&sc->sc_diag_ch, 60 * hz, scifdiag, sc);
+                       callout_reset(&sc->sc_diag_ch, 60 * hz, scifdiag, sc);
        }
 
        while (cc) {



Home | Main Index | Thread Index | Old Index