Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sh3/dev callout()->callout_reset()
details: https://anonhg.NetBSD.org/src/rev/185bfa99d910
branches: trunk
changeset: 494704:185bfa99d910
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Tue Jul 11 18:46:22 2000 +0000
description:
callout()->callout_reset()
diffstat:
sys/arch/sh3/dev/scif.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 1c2ed19dd20a -r 185bfa99d910 sys/arch/sh3/dev/scif.c
--- a/sys/arch/sh3/dev/scif.c Tue Jul 11 16:08:15 2000 +0000
+++ b/sys/arch/sh3/dev/scif.c Tue Jul 11 18:46:22 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.11 2000/07/11 18:46:22 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