Module Name: src
Committed By: christos
Date: Tue Jan 15 03:24:00 UTC 2013
Modified Files:
src/sys/dev/usb: ehci.c
Log Message:
don't use kprintf() directly, it does not lock so it just garbles the output.
To generate a diff of this commit:
cvs rdiff -u -r1.198 -r1.199 src/sys/dev/usb/ehci.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/dev/usb/ehci.c
diff -u src/sys/dev/usb/ehci.c:1.198 src/sys/dev/usb/ehci.c:1.199
--- src/sys/dev/usb/ehci.c:1.198 Wed Jan 9 18:02:59 2013
+++ src/sys/dev/usb/ehci.c Mon Jan 14 22:24:00 2013
@@ -1,4 +1,4 @@
-/* $NetBSD: ehci.c,v 1.198 2013/01/09 23:02:59 skrll Exp $ */
+/* $NetBSD: ehci.c,v 1.199 2013/01/15 03:24:00 christos Exp $ */
/*
* Copyright (c) 2004-2012 The NetBSD Foundation, Inc.
@@ -53,7 +53,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ehci.c,v 1.198 2013/01/09 23:02:59 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ehci.c,v 1.199 2013/01/15 03:24:00 christos Exp $");
#include "ohci.h"
#include "uhci.h"
@@ -83,14 +83,13 @@ __KERNEL_RCSID(0, "$NetBSD: ehci.c,v 1.1
#include <dev/usb/usbroothub_subr.h>
#ifdef EHCI_DEBUG
-#include <sys/kprintf.h>
static void
ehciprintf(const char *fmt, ...)
{
va_list ap;
va_start(ap, fmt);
- kprintf(fmt, TOLOG|TOCONS, NULL, NULL, ap);
+ vprintf(fmt, ap);
va_end(ap);
}