usb: add serial bus property
This patch adds a serial property for all usb devices, which can beused 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 <kraxel@redhat.com>
usb-host-libusb: set USB_DEV_FLAG_IS_HOST
... like host-{linux,bsd}.c do.
Cc: qemu-stable@nongnu.orgSigned-off-by: Gerd Hoffmann <kraxel@redhat.com>
usb/hcd-ehci: Replace PORTSC macros with variables
Replace PORTSC macros with variables which could then beconfigured in ehci_xxxx_class_init(...)
Signed-off-by: Kuo-Jung Su <dantesu@faraday-tech.com>Signed-off-by: Andreas Färber <afaerber@suse.de>Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
usb/hcd-ehci: Add Faraday FUSBH200 support
Add Faraday FUSBH200 support, which is slightly different from EHCI spec.(Or maybe simply a bad/wrong implementation...)
Signed-off-by: Kuo-Jung Su <dantesu@faraday-tech.com>Signed-off-by: Andreas Färber <afaerber@suse.de>...
usb/host-libusb: Fix building with libusb git master code
The next libusb release will deprecate libusb_get_port_path, and sincewe compile with -Werror, this breaks the build.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
usb/hcd-ehci-sysbus: Convert to QOM realize
The SysBus qdev initfn merely calls SysBusDeviceClass::init, so we canreplace it with a realizefn already. This avoids getting into any initfnambiguity with the upcoming Faraday EHCI implementation.
Rename internal usb_ehci_initfn() to usb_ehci_realize() to allow to...
usb/hcd-ehci: Split off instance_init from realize
This makes the mem MemoryRegion available to derived instance_inits.
Keep the bus in realize for now since naming breaks in instance_init.
Signed-off-by: Andreas Färber <afaerber@suse.de>Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
usb/hcd-ehci: Add Tegra2 SysBus EHCI device
This prepares an EHCI device for the Nvidia Tegra2 SoC family.Values based on patch by Vincent Palatin and verified against TRM v01p.
Cc: Vincent Palatin <vpalatin@chromium.org>Signed-off-by: Andreas Färber <andreas.faerber@web.de>...
Merge remote-tracking branch 'bonzini/iommu-for-anthony' into staging
Merge remote-tracking branch 'kiszka/queues/slirp' into staging
Message-id: cover.1371638848.git.jan.kiszka@siemens.com...
View all revisions | View revisions
Also available in: Atom