qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 1.3] ehci-sysbus: Attach DMA context.
@ 2012-11-29  1:43 Peter Crosthwaite
  2012-11-29  2:00 ` walimis
  2012-11-29  6:57 ` Gerd Hoffmann
  0 siblings, 2 replies; 11+ messages in thread
From: Peter Crosthwaite @ 2012-11-29  1:43 UTC (permalink / raw)
  To: qemu-devel, kraxel; +Cc: david.holsgrove, john.williams, 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 <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

^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2012-12-05  7:07 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-29  1:43 [Qemu-devel] [PATCH 1.3] ehci-sysbus: Attach DMA context Peter Crosthwaite
2012-11-29  2:00 ` 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

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).