Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/atari/dev Use callout_schedule(9) rather than callo...
details: https://anonhg.NetBSD.org/src/rev/0a7b5e5ac821
branches: trunk
changeset: 753677:0a7b5e5ac821
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Tue Apr 06 15:32:36 2010 +0000
description:
Use callout_schedule(9) rather than callout_reset(9) on polling
as callout(9) man says.
diffstat:
sys/arch/atari/dev/if_ne_mb.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r ad527e5f4f48 -r 0a7b5e5ac821 sys/arch/atari/dev/if_ne_mb.c
--- a/sys/arch/atari/dev/if_ne_mb.c Tue Apr 06 15:29:19 2010 +0000
+++ b/sys/arch/atari/dev/if_ne_mb.c Tue Apr 06 15:32:36 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_ne_mb.c,v 1.1 2010/04/01 17:07:52 tsutsui Exp $ */
+/* $NetBSD: if_ne_mb.c,v 1.2 2010/04/06 15:32:36 tsutsui Exp $ */
/*
* Copyright (c) 2010 Izumi Tsutsui. All rights reserved.
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_ne_mb.c,v 1.1 2010/04/01 17:07:52 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_ne_mb.c,v 1.2 2010/04/06 15:32:36 tsutsui Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -285,7 +285,7 @@
(void)dp8390_intr(dsc);
splx(s);
- callout_reset(&sc->sc_poll, ETHERNEC_TICK, ne_mb_poll, sc);
+ callout_schedule(&sc->sc_poll, ETHERNEC_TICK);
}
/*
Home |
Main Index |
Thread Index |
Old Index