summaryrefslogtreecommitdiffstats
path: root/tests/usb-hcd-ehci-test.c
Commit message (Collapse)AuthorAgeFilesLines
* tests: usb: Generic usb device hotplugIgor Mammedov2014-10-151-0/+14
| | | | | | | | use usb-tablet as a hotplugged usb device. Signed-off-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Andreas Färber <afaerber@suse.de>
* tests: usb: Move uhci port test code to libqos/usb.cIgor Mammedov2014-10-151-31/+5
| | | | | | | | | Move code necessary for testing uhci port into library so it could be used by other USB tests. Signed-off-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Andreas Färber <afaerber@suse.de>
* libqos: allow qpci_iomap to return BAR mapping sizeJohn Snow2014-08-151-1/+1
| | | | | | | | | | | This patch allows qpci_iomap to return the size of the BAR mapping that it created, to allow driver applications (e.g, ahci-test) to make determinations about the suitability or the mapping size, or in the specific case of AHCI, how many ports are supported by the HBA. Signed-off-by: John Snow <jsnow@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
* usb: improve ehci/uhci testGerd Hoffmann2014-06-021-4/+149
| | | | | | | | | | * Attach usb devices to the bus. * Check initial port status register state. * Flip ehci initialization bit. * Check port status register state again to see whenever device handover to ehci worked. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
* tests: Add EHCI qtestAndreas Färber2014-05-051-0/+40
Signed-off-by: Andreas Färber <afaerber@suse.de>
OpenPOWER on IntegriCloud