Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb When dumping the done list in ohci_softintr / OH...
details: https://anonhg.NetBSD.org/src/rev/f63edb7454f8
branches: trunk
changeset: 785599:f63edb7454f8
user: skrll <skrll%NetBSD.org@localhost>
date: Fri Mar 22 13:20:12 2013 +0000
description:
When dumping the done list in ohci_softintr / OHCI_DEBUG use the correct
list next pointer.
PR/33450 and part of PR/35379.
diffstat:
sys/dev/usb/ohci.c | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diffs (38 lines):
diff -r 229c852376f4 -r f63edb7454f8 sys/dev/usb/ohci.c
--- a/sys/dev/usb/ohci.c Fri Mar 22 12:47:56 2013 +0000
+++ b/sys/dev/usb/ohci.c Fri Mar 22 13:20:12 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ohci.c,v 1.233 2013/03/22 12:47:56 skrll Exp $ */
+/* $NetBSD: ohci.c,v 1.234 2013/03/22 13:20:12 skrll Exp $ */
/*
* Copyright (c) 1998, 2004, 2005, 2012 The NetBSD Foundation, Inc.
@@ -41,7 +41,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ohci.c,v 1.233 2013/03/22 12:47:56 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ohci.c,v 1.234 2013/03/22 13:20:12 skrll Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -1311,7 +1311,8 @@
#ifdef OHCI_DEBUG
if (ohcidebug > 10) {
DPRINTF(("ohci_process_done: TD done:\n"));
- ohci_dump_tds(sc, sdone);
+ for (std = sdone; std; std = std->dnext)
+ ohci_dump_td(sc, std);
}
#endif
@@ -1388,7 +1389,8 @@
#ifdef OHCI_DEBUG
if (ohcidebug > 10) {
DPRINTF(("ohci_softintr: ITD done:\n"));
- ohci_dump_itds(sc, sidone);
+ for (sitd = sidone; sitd; sitd = sitd->dnext)
+ ohci_dump_itd(sc, sitd);
}
#endif
Home |
Main Index |
Thread Index |
Old Index