qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
To: qemu-devel@nongnu.org, kraxel@redhat.com
Cc: david.holsgrove@xilinx.com, john.williams@xilinx.com,
	Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Subject: [Qemu-devel] [PATCH 1.3] ehci-sysbus: Attach DMA context.
Date: Thu, 29 Nov 2012 11:43:18 +1000	[thread overview]
Message-ID: <1354153398-13569-1-git-send-email-peter.crosthwaite@xilinx.com> (raw)

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 <peter.crosthwaite@xilinx.com>
---
 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

             reply	other threads:[~2012-11-29  1:43 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-29  1:43 Peter Crosthwaite [this message]
2012-11-29  2:00 ` [Qemu-devel] [PATCH 1.3] ehci-sysbus: Attach DMA context walimis
2012-11-29  2:05   ` Peter Crosthwaite
2012-12-03 12:03     ` walimis
2012-12-03 12:51       ` Gerd Hoffmann
2012-12-03 14:50         ` walimis
2012-12-04  5:16           ` Peter Crosthwaite
2012-12-04  6:49             ` walimis
2012-12-04  8:15             ` Gerd Hoffmann
2012-12-05  7:07               ` Peter Crosthwaite
2012-11-29  6:57 ` Gerd Hoffmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1354153398-13569-1-git-send-email-peter.crosthwaite@xilinx.com \
    --to=peter.crosthwaite@xilinx.com \
    --cc=david.holsgrove@xilinx.com \
    --cc=john.williams@xilinx.com \
    --cc=kraxel@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).