From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:52252) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TdtAF-0005Ob-9W for qemu-devel@nongnu.org; Wed, 28 Nov 2012 20:43:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TdtAE-0005hG-8k for qemu-devel@nongnu.org; Wed, 28 Nov 2012 20:43:43 -0500 Received: from mail-da0-f45.google.com ([209.85.210.45]:56080) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TdtAE-0005gt-2E for qemu-devel@nongnu.org; Wed, 28 Nov 2012 20:43:42 -0500 Received: by mail-da0-f45.google.com with SMTP id w4so3799817dam.4 for ; Wed, 28 Nov 2012 17:43:41 -0800 (PST) Sender: Peter Crosthwaite From: Peter Crosthwaite Date: Thu, 29 Nov 2012 11:43:18 +1000 Message-Id: <1354153398-13569-1-git-send-email-peter.crosthwaite@xilinx.com> Subject: [Qemu-devel] [PATCH 1.3] ehci-sysbus: Attach DMA context. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, kraxel@redhat.com Cc: david.holsgrove@xilinx.com, john.williams@xilinx.com, Peter Crosthwaite This was left as NULL on the initial merge due to debate on the mailing list on how to handle DMA contexts for sysbus devices. Patch 9e11908f12f92e31ea94dc2a4c962c836cba9f2a was later merged to fix OHCI. This is the, equivalent fix for sysbus EHCI. Signed-off-by: Peter Crosthwaite --- hw/usb/hcd-ehci-sysbus.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/hw/usb/hcd-ehci-sysbus.c b/hw/usb/hcd-ehci-sysbus.c index 1584079..803df92 100644 --- a/hw/usb/hcd-ehci-sysbus.c +++ b/hw/usb/hcd-ehci-sysbus.c @@ -45,6 +45,7 @@ static int usb_ehci_sysbus_initfn(SysBusDevice *dev) s->capsbase = 0x100; s->opregbase = 0x140; + s->dma = &dma_context_memory; usb_ehci_initfn(s, DEVICE(dev)); sysbus_init_irq(dev, &s->irq); -- 1.7.0.4