]> git.proxmox.com Git - qemu.git/commit
usb/ehci: Abstract away PCI DMA API
authorPeter Crosthwaite <peter.crosthwaite@xilinx.com>
Mon, 29 Oct 2012 01:34:35 +0000 (11:34 +1000)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 1 Nov 2012 12:10:09 +0000 (13:10 +0100)
commit7ae6ce0258096d3ad974d274aafcf130d5a31bb7
tree5115150970d430a61cdd4cd9960db2fd50db4d02
parent27a11324e07f23587abfac3f0fd2fd6fb536aa74
usb/ehci: Abstract away PCI DMA API

Pull the DMAContext for the PCI DMA out at device init time and put it into
the device state. Use dma_memory_read/write() instead of pci specific versions.

Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb/hcd-ehci.c