Subject: CVS commit: src/sys/dev/usb
To: None <source-changes@NetBSD.org>
From: Matthias Drochner <drochner@netbsd.org>
List: source-changes
Date: 11/28/2006 20:58:12
Module Name:	src
Committed By:	drochner
Date:		Tue Nov 28 20:58:12 UTC 2006

Modified Files:
	src/sys/dev/usb: ehci.c

Log Message:
Remove the code which tried to guess the toggle bit after a short
transfer. It was wrong because it didn't consider block boundaries.
Instead, use the updated toggle from the transfer descriptor -- this
is supposedly cheaper than modulo arithmetics.
This fixes a problem similar to PR kern/34070 for me.


To generate a diff of this commit:
cvs rdiff -r1.116 -r1.117 src/sys/dev/usb/ehci.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.