Module Name:    src
Committed By:   tsutsui
Date:           Fri Jul 16 15:28:38 UTC 2010

Modified Files:
        src/sys/arch/hpcmips/tx: txcom.c

Log Message:
Add missing callout_init(9) calls. PR port-hpcmips/43472


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 src/sys/arch/hpcmips/tx/txcom.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/hpcmips/tx/txcom.c
diff -u src/sys/arch/hpcmips/tx/txcom.c:1.41 src/sys/arch/hpcmips/tx/txcom.c:1.42
--- src/sys/arch/hpcmips/tx/txcom.c:1.41	Sat Mar 14 15:36:07 2009
+++ src/sys/arch/hpcmips/tx/txcom.c	Fri Jul 16 15:28:38 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: txcom.c,v 1.41 2009/03/14 15:36:07 dsl Exp $ */
+/*	$NetBSD: txcom.c,v 1.42 2010/07/16 15:28:38 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.41 2009/03/14 15:36:07 dsl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: txcom.c,v 1.42 2010/07/16 15:28:38 tsutsui Exp $");
 
 #include "opt_tx39uart_debug.h"
 
@@ -249,6 +249,10 @@
 
 	printf("\n");
 
+	/* initialize callouts */
+	callout_init(&sc->sc_txsoft_ch, 0);
+	callout_init(&sc->sc_rxsoft_ch, 0);
+
 	/* 
 	 * Enable interrupt
 	 */

Reply via email to