Subject: CVS commit: src/sys/dev/usb
To: None <source-changes@NetBSD.org>
From: Steve Rumble <rumble@netbsd.org>
List: source-changes
Date: 07/08/2004 00:54:21
Module Name:	src
Committed By:	rumble
Date:		Thu Jul  8 00:54:21 UTC 2004

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

Log Message:
The MCT advertises both the interrupt and bulkin endpoints as
interrupts. Go from assuming that the first enumerated interrupt
is the bulkin (since this may not be the case) to assuming that
the true interrupt endpoint will have a 0x2 wMaxPacketSize.

From FreeBSD's umct.c, ok'd by mycroft@, closes PR25959.


To generate a diff of this commit:
cvs rdiff -r1.13 -r1.14 src/sys/dev/usb/umct.c

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