Re: [Qemu-devel] [PATCH 06/13] usb-ohci: Use universal DMA helper functions

2012-03-22 Thread Gerd Hoffmann
On 03/22/12 03:14, David Gibson wrote: > 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.

[Qemu-devel] [PATCH 06/13] usb-ohci: Use universal DMA helper functions

2012-03-21 Thread David Gibson
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_conte

[Qemu-devel] [PATCH 06/13] usb-ohci: Use universal DMA helper functions

2012-03-08 Thread David Gibson
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_conte

[Qemu-devel] [PATCH 06/13] usb-ohci: Use universal DMA helper functions

2012-02-29 Thread David Gibson
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_conte