diff options
| author | joerg <joerg@NetBSD.org> | 2007-10-18 18:54:56 +0000 |
|---|---|---|
| committer | joerg <joerg@NetBSD.org> | 2007-10-18 18:54:56 +0000 |
| commit | d238692c3ed2a0b261d3f0ebcd262d0d545404c8 (patch) | |
| tree | eb3e0e92276c8ce9c225ba7f11d227255350ae63 /sys/arch/atari/dev | |
| parent | bc89ba23ac92689206b04b822077f3920d360cb5 (diff) | |
Initialise the callbacks for tty.t_rstrt_ch in ttymalloc
as all drivers but Sun/SPARC's kd.c use the same arguments.
Separate callout_reset into callout_schedule and the initial
callout_setfunc using that.
Diffstat (limited to 'sys/arch/atari/dev')
| -rw-r--r-- | sys/arch/atari/dev/ite.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/atari/dev/ite.c b/sys/arch/atari/dev/ite.c index f906bfe714a..a2a94412866 100644 --- a/sys/arch/atari/dev/ite.c +++ b/sys/arch/atari/dev/ite.c @@ -1,4 +1,4 @@ -/* $NetBSD: ite.c,v 1.56 2007/10/17 19:53:47 garbled Exp $ */ +/* $NetBSD: ite.c,v 1.57 2007/10/18 18:54:57 joerg Exp $ */ /* * Copyright (c) 1990 The Regents of the University of California. @@ -81,7 +81,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: ite.c,v 1.56 2007/10/17 19:53:47 garbled Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ite.c,v 1.57 2007/10/18 18:54:57 joerg Exp $"); #include "opt_ddb.h" @@ -679,7 +679,7 @@ itestart(tp) /* we have characters remaining. */ if (rbp->c_cc) { tp->t_state |= TS_TIMEOUT; - callout_reset(&tp->t_rstrt_ch, 1, ttrstrt, tp); + callout_schedule(&tp->t_rstrt_ch, 1); } /* wakeup we are below */ if (rbp->c_cc <= tp->t_lowat) { |
