Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 May 2009 18:04:51 +0000 (UTC)
From:      Andrew Thompson <thompsa@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r192053 - head/sys/dev/usb/controller
Message-ID:  <200905131804.n4DI4pQQ063451@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905131804.n4DI4pQQ063451>