Skip to content

Commit

Permalink
ehci-sysbus: Attach DMA context.
Browse files Browse the repository at this point in the history
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
9e11908 was later merged to fix OHCI. This is the,
equivalent fix for sysbus EHCI.

Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
  • Loading branch information
pete128 authored and kraxel committed Nov 29, 2012
1 parent c128d6a commit 2b29f49
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hw/usb/hcd-ehci-sysbus.c
Expand Up @@ -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);
Expand Down

0 comments on commit 2b29f49

Please sign in to comment.