PERFORCE change 131910 for review

Hans Petter Selasky hselasky at FreeBSD.org
Fri Dec 28 13:38:00 PST 2007


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

Change 131910 by hselasky at hselasky_laptop001 on 2007/12/28 21:37:27

	
	AT91 bugfix.

Affected files ...

.. //depot/projects/usb/src/sys/dev/usb/at9100_dci.c#8 edit

Differences ...

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

@@ -648,11 +648,19 @@
 	bus_space_write_4(td->io_tag, td->io_hdl,
 	    td->status_reg, csr);
 
+#if 0
+	/*
+	 * XXX The AT91 USB chip does not generate a second interrupt
+	 * when we do double bufring, so there is no way of telling
+	 * when the peer has actually received the data. Usually this
+	 * is not a big problem. XXX
+	 */
 	if (td->did_multi_buffer) {
 		/* wait for the second and final interrupt */
 		td->did_multi_buffer = 0;
 		goto repeat;
 	}
+#endif
 	return (0);			/* complete */
 
 not_complete:


More information about the p4-projects mailing list