svn commit: r192053 - head/sys/dev/usb/controller
Andrew Thompson
thompsa at FreeBSD.org
Wed May 13 18:04:52 UTC 2009
Author: thompsa
Date: Wed May 13 18:04:51 2009
New Revision: 192053
URL: http://svn.freebsd.org/changeset/base/192053
Log:
Add debug lines for fullspeed and highspeed xfer completion.
Submitted by: Hans Petter Selasky
Modified:
head/sys/dev/usb/controller/ehci.c
Modified: head/sys/dev/usb/controller/ehci.c
==============================================================================
--- head/sys/dev/usb/controller/ehci.c Wed May 13 18:03:23 2009 (r192052)
+++ head/sys/dev/usb/controller/ehci.c Wed May 13 18:04:51 2009 (r192053)
@@ -2028,6 +2028,8 @@ ehci_isoc_fs_done(ehci_softc_t *sc, stru
len = EHCI_SITD_GET_LEN(status);
+ DPRINTFN(2, "status=0x%08x, rem=%u\n", status, len);
+
if (*plen >= len) {
len = *plen - len;
} else {
@@ -2081,6 +2083,8 @@ ehci_isoc_hs_done(ehci_softc_t *sc, stru
len = EHCI_ITD_GET_LEN(status);
+ DPRINTFN(2, "status=0x%08x, len=%u\n", status, len);
+
if (*plen >= len) {
/*
* The length is valid. NOTE: The complete
More information about the svn-src-all
mailing list