PERFORCE change 161419 for review

Hans Petter Selasky hselasky at FreeBSD.org
Fri May 1 07:53:42 UTC 2009


http://perforce.freebsd.org/chv.cgi?CH=161419

Change 161419 by hselasky at hselasky_laptop001 on 2009/05/01 07:52:56

	
	USB controller: Add more debugging printouts.

Affected files ...

.. //depot/projects/usb/src/sys/dev/usb/controller/ehci.c#17 edit

Differences ...

==== //depot/projects/usb/src/sys/dev/usb/controller/ehci.c#17 (text+ko) ====

@@ -2028,6 +2028,8 @@
 
 		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 @@
 
 		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 p4-projects mailing list