Statistics
| Branch: | Revision:

root / hw / usb @ 6c601340

Name Size
bus.c 14.7 kB
core.c 18.9 kB
desc.c 15.7 kB
desc.h 4 kB
dev-audio.c 22.9 kB
dev-bluetooth.c 16.7 kB
dev-hid.c 20.3 kB
dev-hub.c 15.5 kB
dev-network.c 43 kB
dev-serial.c 17.1 kB
dev-smartcard-reader.c 41.6 kB
dev-storage.c 18 kB
dev-wacom.c 10 kB
hcd-ehci.c 67.6 kB
hcd-musb.c 43.8 kB
hcd-ohci.c 53.6 kB
hcd-uhci.c 35.9 kB
hcd-xhci.c 85 kB
host-bsd.c 17.7 kB
host-linux.c 52.4 kB
host-stub.c 1.9 kB
libhw.c 2 kB
redirect.c 47.5 kB

Latest revisions

# Date Author Comment
86e18cae 03/13/2012 11:15 am Wei Yang

usb-ohci: DMA writeback bug fixes

This patch fixes two bugs in the OHCI device where the device writes
back data to system memory that should be exclusively under the
control of the guest side driver.

In OHCI specification Section 5.2.7, it mentioned "In all cases, Host...

5ac2731c 03/13/2012 11:15 am Gerd Hoffmann

usb: improve packet state sanity checks

Add a new function to check whenever the packet state is as expected,
log more informations in case it isn't.

Signed-off-by: Gerd Hoffmann <>

16ce543e 03/13/2012 11:15 am Gerd Hoffmann

uhci: pass addr to uhci_async_alloc

Also do async->td initialization in uhci_async_alloc now.
Prepares for adding tracepoints.

Signed-off-by: Gerd Hoffmann <>

60f8afcb 03/13/2012 11:15 am Gerd Hoffmann

uhci: fix uhci_async_cancel_all

It should also free all queues.

Signed-off-by: Gerd Hoffmann <>

d9a528db 03/13/2012 11:15 am Gerd Hoffmann

uhci: cancel on schedule stop.

Cancel any in-flight transaction when the guest stops the uhci schedule.

Signed-off-by: Gerd Hoffmann <>

50dcc0f8 03/13/2012 11:15 am Gerd Hoffmann

uhci: tracing support

Zap DPRINTF, add tracepoints instead.

Signed-off-by: Gerd Hoffmann <>

60e1b2a6 03/13/2012 11:15 am Gerd Hoffmann

uhci: use enum for uhci_handle_td return codes

Step #1 (separate for better bisectability): replace numbers with names.

Signed-off-by: Gerd Hoffmann <>

0cd178ca 03/13/2012 11:15 am Gerd Hoffmann

uhci: renumber uhci_handle_td return codes

Step #2 (separate for better bisectability): renumber so the silly '-1'
goes away. Pick a range which doesn't overlap the old values.

Signed-off-by: Gerd Hoffmann <>

4efe4ef3 03/13/2012 11:15 am Gerd Hoffmann

uhci: new uhci_handle_td return code for tds still in flight

Signed-off-by: Gerd Hoffmann <>

6c601340 03/13/2012 11:15 am Gerd Hoffmann

uhci: alloc can't fail, drop check.

Signed-off-by: Gerd Hoffmann <>

View revisions

Also available in: Atom