Subject: CVS commit: src/sys/dev/usb
To: None <source-changes@NetBSD.org>
From: Matthias Drochner <drochner@netbsd.org>
List: source-changes
Date: 02/26/2007 13:58:36
Module Name: src
Committed By: drochner
Date: Mon Feb 26 13:58:36 UTC 2007
Modified Files:
src/sys/dev/usb: usb.h
Log Message:
-remove "bDescriptorSubtype" from usb_descriptor_t - this is not part
of the common USB spec
-Fix length of string descriptor: Descriptors have only a byte field
for length, so 2*127+2 is already too much. Some devices obviously
don't reply to string read requests with impossible length which
happened if "sizeof(usb_string_descriptor_t) was used.
To generate a diff of this commit:
cvs rdiff -r1.76 -r1.77 src/sys/dev/usb/usb.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.