Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/hpcmips/tx Fix a wrong arg for callout_reset(9) in ...



details:   https://anonhg.NetBSD.org/src/rev/3546a8e1044c
branches:  trunk
changeset: 756407:3546a8e1044c
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Fri Jul 16 15:30:10 2010 +0000

description:
Fix a wrong arg for callout_reset(9) in txcom_txintr(). PR port-hpcmips/43474

diffstat:

 sys/arch/hpcmips/tx/txcom.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r ff60bbaf04eb -r 3546a8e1044c sys/arch/hpcmips/tx/txcom.c
--- a/sys/arch/hpcmips/tx/txcom.c       Fri Jul 16 15:28:38 2010 +0000
+++ b/sys/arch/hpcmips/tx/txcom.c       Fri Jul 16 15:30:10 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: txcom.c,v 1.42 2010/07/16 15:28:38 tsutsui Exp $ */
+/*     $NetBSD: txcom.c,v 1.43 2010/07/16 15:30:10 tsutsui Exp $ */
 
 /*-
  * Copyright (c) 1999, 2000, 2004 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: txcom.c,v 1.42 2010/07/16 15:28:38 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: txcom.c,v 1.43 2010/07/16 15:30:10 tsutsui Exp $");
 
 #include "opt_tx39uart_debug.h"
 
@@ -749,7 +749,7 @@
                sc->sc_tbc--;
                sc->sc_tba++;
        } else {
-               callout_reset(&sc->sc_rxsoft_ch, 1, txcom_txsoft, sc);
+               callout_reset(&sc->sc_txsoft_ch, 1, txcom_txsoft, sc);
        }
 
        return 0;



Home | Main Index | Thread Index | Old Index