diff options
author | Anthony Liguori <aliguori@us.ibm.com> | 2012-04-18 07:55:56 -0500 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2012-04-18 07:55:56 -0500 |
commit | b26d712ecc9558fcd2a77a0b677a18d4919228bd (patch) | |
tree | eba6143f8eb14f300ef20da401e54389315e6163 /hw/usb.h | |
parent | 6b034aa138716a515c88f7894940d5d0aff2f3ed (diff) | |
parent | c7020c974073ba9c0110d45361720a29ff6b2f59 (diff) | |
download | qemu-b26d712ecc9558fcd2a77a0b677a18d4919228bd.zip qemu-b26d712ecc9558fcd2a77a0b677a18d4919228bd.tar.gz qemu-b26d712ecc9558fcd2a77a0b677a18d4919228bd.tar.bz2 |
Merge remote-tracking branch 'kraxel/usb.46' into staging
* kraxel/usb.46: (21 commits)
usb-ehci: drop assert()
usb-redir: Notify our peer when we reject a device due to a speed mismatch
usb-ehci: Drop unused sofv value
usb-host: rewrite usb_linux_update_endp_table
usb: use USBDescriptor for endpoint descriptors.
usb: use USBDescriptor for interface descriptors.
usb: use USBDescriptor for config descriptors.
usb: use USBDescriptor for device qualifier descriptors.
usb: add USBDescriptor, use for device descriptors.
usb-ehci: frindex always is a 14 bits counter
usb-ehci: fix ehci_child_detach
usb-hub: add tracepoints
usb_packet_set_state: handle p->ep == NULL
usb-host: add property to turn off pipelining
usb-host: add usb packet to request tracepoints
usb-host: trace canceled requests
usb-host: trace emulated requests
Add bootindex support to usb-host and usb-redir
usb-uhci: queuing fix
usb-uhci: stop queue filling when we find a in-flight td
...
Diffstat (limited to 'hw/usb.h')
-rw-r--r-- | hw/usb.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -182,12 +182,17 @@ struct USBEndpoint { QTAILQ_HEAD(, USBPacket) queue; }; +enum USBDeviceFlags { + USB_DEV_FLAG_FULL_PATH, +}; + /* definition of a USB device */ struct USBDevice { DeviceState qdev; USBPort *port; char *port_path; void *opaque; + uint32_t flags; /* Actual connected speed */ int speed; |