Statistics
| Branch: | Revision:

root / hw / usb @ c9159fe9

Name Size
Makefile.objs 534 Bytes
bus.c 15.6 kB
core.c 20.3 kB
desc.c 22.5 kB
desc.h 7.9 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.3 kB
dev-serial.c 17.1 kB
dev-smartcard-reader.c 41.8 kB
dev-storage.c 20.2 kB
dev-uas.c 21.6 kB
dev-wacom.c 10 kB
hcd-ehci.c 81.1 kB
hcd-musb.c 43.9 kB
hcd-ohci.c 54 kB
hcd-uhci.c 37.9 kB
hcd-xhci.c 87.5 kB
host-bsd.c 17.7 kB
host-linux.c 56.4 kB
host-stub.c 1.9 kB
libhw.c 2.3 kB
redirect.c 59.8 kB

Latest revisions

# Date Author Comment
c9159fe9 10/06/2012 12:07 am Stefan Weil

Remove libhw

The entries for libhw* are no longer needed in .gitignore.

There is also no longer a difference between common-obj-y and
hw-obj-y, so one of those two macros is sufficient.

Signed-off-by: Stefan Weil <>
Signed-off-by: Anthony Liguori <>

39c138c8 09/26/2012 10:24 am David Gibson

usb: Fix usb_packet_map() in the presence of IOMMUs

With the IOMMU infrastructure introduced before 1.2, we need to use
dma_memory_map() to obtain a qemu pointer to memory from an IO bus address.
However, dma_memory_map() alters the given length to reflect the length...

d95e74ea 09/26/2012 10:24 am Gerd Hoffmann

xhci: tweak limits

Set maxports to 15. This is what the usb3 route string can handle.

Set maxslots to 64. This is more than the number of root ports we
can have, but with additional hubs you can end up with more devices.

Set maxintrs (aka msi vectors) to 16. Should be enougth, especially...

ccaf87a0 09/26/2012 10:24 am Gerd Hoffmann

xhci: route string & usb hub support

Parse route string in slot contexts and
support devices connected via hub.

1d8a4e69 09/26/2012 10:24 am Gerd Hoffmann

xhci: create a memory region for each port

Signed-off-by: Gerd Hoffmann <>

cae5d3f4 09/26/2012 10:24 am Hans de Goede

ehci: Fix interrupt packet MULT handling

There are several issues with our handling of the MULT epcap field
of interrupt qhs, which this patch fixes.

1) When we don't execute a transaction because of the transaction counter
being 0, p->async stays EHCI_ASYNC_NONE, and the next time we process the...

cfb75cb9 09/21/2012 08:53 pm Aurelien Jarno

Merge branch 'usb.65' of git://git.kraxel.org/qemu

  • 'usb.65' of git://git.kraxel.org/qemu:
    uhci: Don't queue up packets after one with the SPD flag set
    usb-redir: Revert usb-redir part of commit 93bfef4c
    usb-redir: Add chardev open / close debug logging...
f237ddbb 09/14/2012 10:40 am Stefan Hajnoczi

net: clean up usbnet_receive()

The USB network interface has two code paths depending on whether or not
RNDIS mode is enabled. Refactor usbnet_receive() so that there is a
common path throughout the function instead of duplicating everything
across if (is_rndis(s)) ... else ... code paths....

190563f9 09/14/2012 10:40 am Stefan Hajnoczi

net: fix usbnet_receive() packet drops

The USB network interface has a single buffer which the guest reads
from. This patch prevents multiple calls to usbnet_receive() from
clobbering the input buffer. Instead we queue packets until buffer
space becomes available again....

72a04d0c 09/13/2012 10:50 am Hans de Goede

uhci: Don't queue up packets after one with the SPD flag set

Don't queue up packets after a packet with the SPD (short packet detect)
flag set. Since we won't know if the packet will actually be short until it
has completed, and if it is short we should stop the queue....

View revisions

Also available in: Atom