Statistics
| Branch: | Revision:

root / hw / usb @ 9bc3a3a2

Name Size
Makefile.objs 480 Bytes
bus.c 15.6 kB
core.c 19.2 kB
desc.c 18.2 kB
desc.h 6.4 kB
dev-audio.c 23 kB
dev-bluetooth.c 16.7 kB
dev-hid.c 20.2 kB
dev-hub.c 17 kB
dev-network.c 43.1 kB
dev-serial.c 17.1 kB
dev-smartcard-reader.c 41.8 kB
dev-storage.c 18.8 kB
dev-wacom.c 10 kB
hcd-ehci.c 74.6 kB
hcd-musb.c 43.8 kB
hcd-ohci.c 54 kB
hcd-uhci.c 36.9 kB
hcd-xhci.c 84.2 kB
host-bsd.c 17.7 kB
host-linux.c 56.2 kB
host-stub.c 1.9 kB
libhw.c 2.1 kB
redirect.c 48.1 kB

Latest revisions

# Date Author Comment
9bc3a3a2 07/09/2012 12:59 pm Gerd Hoffmann

ehci: don't flush cache on doorbell rings.

Commit 4be23939ab0d7019c7e59a37485b416fbbf0f073 makes ehci instantly
zap any unlinked queue heads when the guest rings the doorbell.

While hacking up uas support this turned out to be a problem. The linux
kernel can unlink and instantly relink the very same queue head, thereby...

a5e0139a 07/09/2012 10:57 am Gerd Hoffmann

ehci: fix ehci_qh_do_overlay

Use ehci_flush_qh to make sure we touch inly the fields the hc is
allowed to touch.

Signed-off-by: Gerd Hoffmann <>

4ed1c57a 07/09/2012 10:57 am Gerd Hoffmann

ehci: fix td writeback

Only write back the dwords the hc is supposed to update. Should not
make a difference in theory as the guest must not touch the td while
it is active to avoid races. But it is still more correct.

Signed-off-by: Gerd Hoffmann <>

9ac6a217 06/28/2012 12:33 am David Gibson

usb-ohci: Use universal DMA helper functions

The OHCI device emulation can provide both PCI and SysBus OHCI
implementations. Because of this, it was not previously converted to
use the PCI DMA helper functions.

This patch converts it to use the new universal DMA helper functions....

e2f89926 06/28/2012 12:33 am David Gibson

usb: Convert usb_packet_{map, unmap} to universal DMA helpers

The USB UHCI and EHCI drivers were converted some time ago to use the
pci_dma_*() helper functions. However, this conversion was not complete
because in some places both these drivers do DMA via the usb_packet_map()...

495d5447 06/20/2012 03:46 pm Gerd Hoffmann

usb: restore USBDevice->attached on vmload

Signed-off-by: Gerd Hoffmann <>

30e9d412 06/20/2012 03:46 pm Gerd Hoffmann

ehci: tracing improvements

Signed-off-by: Gerd Hoffmann <>

a844ed84 06/20/2012 03:46 pm Gerd Hoffmann

usb-host: attach only to running guest

Signed-off-by: Gerd Hoffmann <>

a229c053 06/20/2012 03:46 pm Gerd Hoffmann

usb-host: live migration support

Signed-off-by: Gerd Hoffmann <>

77fa9aee 06/20/2012 03:46 pm Gerd Hoffmann

uhci: fix uhci_async_cancel_all

We update the QTAILQ in the loop, thus we must use the SAFE version
to make sure we don't touch the queue struct after freeing it.

https://bugzilla.novell.com/show_bug.cgi?id=766310

Signed-off-by: Gerd Hoffmann <>

View revisions

Also available in: Atom