summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorn_hibma <n_hibma@FreeBSD.org>2000-01-29 18:01:15 +0000
committern_hibma <n_hibma@FreeBSD.org>2000-01-29 18:01:15 +0000
commit7a76a6d4d239205303176878441dd46d265fb50c (patch)
treeb64be34693637fdc53a3285bdd32b549a072edb8
parent59db460dbc312ca297cad9a05c166963f9258c14 (diff)
downloadFreeBSD-src-7a76a6d4d239205303176878441dd46d265fb50c.zip
FreeBSD-src-7a76a6d4d239205303176878441dd46d265fb50c.tar.gz
Fix debugging output. The TDs are linked through the dnext field, not
nexttd.
-rw-r--r--sys/dev/usb/ohci.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/usb/ohci.c b/sys/dev/usb/ohci.c
index 9591726..131e306 100644
--- a/sys/dev/usb/ohci.c
+++ b/sys/dev/usb/ohci.c
@@ -1127,7 +1127,8 @@ ohci_process_done(sc, done)
#ifdef OHCI_DEBUG
if (ohcidebug > 10) {
DPRINTF(("ohci_process_done: TD done:\n"));
- ohci_dump_tds(sdone);
+ for (std = sdone; std; std = std->dnext)
+ ohci_dump_td(std);
}
#endif
OpenPOWER on IntegriCloud