Statistics
| Branch: | Revision:

root / include / hw / usb.h @ ac41881b

History | View | Annotate | Download (19.7 kB)

# Date Author Comment
bd93976a 02/18/2014 04:39 pm Pantelis Koukousoulas

usb: Remove magic constants from device bmAttributes

Replace magic constants in device bmAttributes with symbolic ones
from Linux kernel ch9.h

Signed-off-by: Pantelis Koukousoulas <>
Signed-off-by: Gerd Hoffmann <>

5319dc7b 01/16/2014 01:59 pm Gerd Hoffmann

usb: add support for microsoft os descriptors

This patch adds support for special usb descriptors used by microsoft
windows. They allow more fine-grained control over driver binding and
adding entries to the registry for configuration.

As this is a guest-visible change the "msos-desc" compat property...

2b81ba53 11/28/2013 04:39 pm Gerd Hoffmann

usb: add vendor request defines

Add defines for vendor specific usb control requests.
Group defines by Device / Interface / Endpoint while
being at it.

Signed-off-by: Gerd Hoffmann <>

04b300f8 11/26/2013 10:21 am Hans de Goede

usb: Add max_streams attribute to endpoint info

Signed-off-by: Hans de Goede <>
Signed-off-by: Gerd Hoffmann <>

3b444ead 11/26/2013 10:21 am Hans de Goede

usb: Add usb_device_alloc/free_streams

Signed-off-by: Hans de Goede <>
Signed-off-by: Gerd Hoffmann <>

615fe4de 09/10/2013 12:14 pm Miroslav Rezanina

Remove dev-bluetooth.c dependency from vl.c

Use usb_legacy_register handling to create bt-dongle device and remove code
dependency from vl.c so CONFIG_USB_BLUETOOTH can be disabled.

Signed-off-by: Miroslav Rezanina <>
Signed-off-by: Gerd Hoffmann <>

c889b3a5 08/30/2013 09:14 pm Andreas Färber

usb: Pass size to usb_bus_new()

To be passed to qbus_create_inplace().

Use DEVICE cast to avoid a direct parent field access.

Reviewed-by: Wenchao Xia <>
Signed-off-by: Andreas Färber <>

71938a09 06/24/2013 09:41 am Gerd Hoffmann

usb: add serial bus property

This patch adds a serial property for all usb devices, which can be
used to set the serial number of a usb device (as listed by lsusb -v)
to a specific value. Applies to emulated devices only.

Signed-off-by: Gerd Hoffmann <>

47b5264e 04/08/2013 09:12 pm Anthony Liguori

Merge remote-tracking branch 'bonzini/hw-dirs' into staging

  1. By Paolo Bonzini
  2. Via Paolo Bonzini
    • bonzini/hw-dirs: (35 commits)
      hw: move private headers to hw/ subdirectories.
      MAINTAINERS: update for source code movement
      hw: move last file to hw/arm/...
0d09e41a 04/08/2013 07:13 pm Paolo Bonzini

hw: move headers to include/

Many of these should be cleaned up with proper qdev-/QOM-ification.
Right now there are many catch-all headers in include/hw/ARCH depending
on cpu.h, and this makes it necessary to compile these files per-target.
However, fixing this does not belong in these patches....