Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Dec 2007 21:37:59 GMT
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 131910 for review
Message-ID:  <200712282137.lBSLbx7K097815@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=131910

Change 131910 by hselasky@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:



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