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 Add missing callout_init(9) calls. PR po...
details: https://anonhg.NetBSD.org/src/rev/ff60bbaf04eb
branches: trunk
changeset: 756406:ff60bbaf04eb
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Fri Jul 16 15:28:38 2010 +0000
description:
Add missing callout_init(9) calls. PR port-hpcmips/43472
diffstat:
sys/arch/hpcmips/tx/txcom.c | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diffs (29 lines):
diff -r a78fdc60e03a -r ff60bbaf04eb sys/arch/hpcmips/tx/txcom.c
--- a/sys/arch/hpcmips/tx/txcom.c Fri Jul 16 15:26:04 2010 +0000
+++ b/sys/arch/hpcmips/tx/txcom.c Fri Jul 16 15:28:38 2010 +0000
@@ -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
*/
Home |
Main Index |
Thread Index |
Old Index