qemu/hw/usb
David Gibson 9ac6a217f2 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.
In the PCI case, it obtains its DMAContext from pci_dma_context(), in
the SysBus case, it uses NULL - i.e. assumes for now that there will
be no IOMMU translation for a SysBus OHCI.

Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: Michael S. Tsirkin <mst@redhat.com>

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2012-06-27 16:33:25 -05:00
..
bus.c usb: restore USBDevice->attached on vmload 2012-06-20 14:46:02 +02:00
core.c usb-ehci: add missing usb_packet_init() call 2012-04-26 12:21:15 +02:00
desc.c qdev: Use wrapper for qdev_get_path 2012-06-18 15:14:38 +02:00
desc.h usb: add serial number generator 2012-04-26 12:21:17 +02:00
dev-audio.c usb: add serial number generator 2012-04-26 12:21:17 +02:00
dev-bluetooth.c Allow machines to configure the QEMU_VERSION that's exposed via hardware 2012-06-19 13:36:56 -05:00
dev-hid.c Allow machines to configure the QEMU_VERSION that's exposed via hardware 2012-06-19 13:36:56 -05:00
dev-hub.c Allow machines to configure the QEMU_VERSION that's exposed via hardware 2012-06-19 13:36:56 -05:00
dev-network.c net: net_client_init(): use error_set() 2012-06-04 13:49:35 -03:00
dev-serial.c Allow machines to configure the QEMU_VERSION that's exposed via hardware 2012-06-19 13:36:56 -05:00
dev-smartcard-reader.c Allow machines to configure the QEMU_VERSION that's exposed via hardware 2012-06-19 13:36:56 -05:00
dev-storage.c Allow machines to configure the QEMU_VERSION that's exposed via hardware 2012-06-19 13:36:56 -05:00
dev-wacom.c Allow machines to configure the QEMU_VERSION that's exposed via hardware 2012-06-19 13:36:56 -05:00
hcd-ehci.c ehci: tracing improvements 2012-06-20 14:46:02 +02:00
hcd-musb.c
hcd-ohci.c usb-ohci: Use universal DMA helper functions 2012-06-27 16:33:25 -05:00
hcd-uhci.c uhci: fix uhci_async_cancel_all 2012-06-20 14:46:02 +02:00
hcd-xhci.c xhci: trace: slots 2012-06-07 10:02:22 +02:00
host-bsd.c
host-linux.c usb-host: live migration support 2012-06-20 14:46:02 +02:00
host-stub.c
libhw.c
Makefile.objs build: convert libhw to nested Makefile.objs 2012-06-07 09:21:17 +02:00
redirect.c Allow machines to configure the QEMU_VERSION that's exposed via hardware 2012-06-19 13:36:56 -05:00