History | View | Annotate | Download (6.4 kB)
usb: add serial number generator
This patch adds a function which creates unique serial numbers for usbdevices and puts it into use. Windows guests tend to become unhappy ifthey find two identical usb devices in the system. Effects range fromnon-functional devices (with yellow exclamation mark in device manager)...
usb: add USBDescriptor, use for device descriptors.
This patch adds a new type for the binary representation of usbdescriptors. It is put into use for the descriptor generator codewhere the struct replaces the hard-coded offsets.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
usb: use USBDescriptor for device qualifier descriptors.
Add device qualifier substruct to USBDescriptor,use it in the descriptor generator code.
usb: use USBDescriptor for config descriptors.
Add config descriptor substruct to USBDescriptor,use it in the descriptor generator code.
usb: use USBDescriptor for interface descriptors.
Add interface descriptor substruct to USBDescriptor,use it in the descriptor generator code.
usb: use USBDescriptor for endpoint descriptors.
Add endpoint descriptor substruct to USBDescriptor,use it in the descriptor generator code.
usb: the big rename
Reorganize usb source files. Create a new hw/usb/ directory and moveall usb source code to that place. Also make filenames a bit moredescriptive. Host adapters are prefixed with "hch-" now, usb deviceemulations are prefixed with "dev-". Fixup paths Makefile and include...