提交 2b29f492 编写于 作者: P Peter Crosthwaite 提交者: Gerd Hoffmann

ehci-sysbus: Attach DMA context.

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
9e11908f was later merged to fix OHCI. This is the,
equivalent fix for sysbus EHCI.
Signed-off-by: NPeter Crosthwaite <peter.crosthwaite@xilinx.com>
Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
上级 c128d6a6
...@@ -45,6 +45,7 @@ static int usb_ehci_sysbus_initfn(SysBusDevice *dev) ...@@ -45,6 +45,7 @@ static int usb_ehci_sysbus_initfn(SysBusDevice *dev)
s->capsbase = 0x100; s->capsbase = 0x100;
s->opregbase = 0x140; s->opregbase = 0x140;
s->dma = &dma_context_memory;
usb_ehci_initfn(s, DEVICE(dev)); usb_ehci_initfn(s, DEVICE(dev));
sysbus_init_irq(dev, &s->irq); sysbus_init_irq(dev, &s->irq);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册