PERFORCE change 141474 for review

Hans Petter Selasky hselasky at FreeBSD.org
Sun May 11 18:45:44 UTC 2008


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

Change 141474 by hselasky at hselasky_laptop001 on 2008/05/11 18:45:01

	
	Add missing code: We need to initialise BP[0] when using
	High Speed Isochronous transfers.

Affected files ...

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

Differences ...

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

@@ -2837,6 +2837,9 @@
 				usbd_get_page(xfer->frbuffers, itd_offset[0], &buf_res);
 				/* get page address */
 				page_addr = buf_res.physaddr & ~0xFFF;
+				/* update page address */
+				td->itd_bp[0] &= htole32(0xFFF);
+				td->itd_bp[0] |= htole32(page_addr);
 
 				for (x = 0; x != td_no; x++) {
 					/* set page number and page offset */


More information about the p4-projects mailing list