summaryrefslogtreecommitdiff
path: root/tests/usb-hcd-ehci-test.c
AgeCommit message (Collapse)AuthorFilesLines
2014-10-15tests: usb: Generic usb device hotplugIgor Mammedov1-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>
2014-10-15tests: usb: Move uhci port test code to libqos/usb.cIgor Mammedov1-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>
2014-08-15libqos: allow qpci_iomap to return BAR mapping sizeJohn Snow1-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>
2014-06-02usb: improve ehci/uhci testGerd Hoffmann1-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>
2014-05-05tests: Add EHCI qtestAndreas Färber1-0/+40
Signed-off-by: Andreas Färber <afaerber@suse.de>