Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/dev/usb



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.




Home | Main Index | Thread Index | Old Index