aboutsummaryrefslogtreecommitdiff
path: root/dma.h
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2012-06-27 14:50:39 +1000
committerAnthony Liguori <aliguori@us.ibm.com>2012-06-27 16:33:25 -0500
commit9ac6a217f26d2044929ac4261826d24cc8c3dda5 (patch)
tree40ff60c50048da496c46cf5cd673c5b2d39ec385 /dma.h
parentd86a77f8abb9ed4b598f86f6476ccb2dc0a433e6 (diff)
downloadqemu-9ac6a217f26d2044929ac4261826d24cc8c3dda5.zip
qemu-9ac6a217f26d2044929ac4261826d24cc8c3dda5.tar.gz
qemu-9ac6a217f26d2044929ac4261826d24cc8c3dda5.tar.bz2
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>
Diffstat (limited to 'dma.h')
0 files changed, 0 insertions, 0 deletions