From 63ec34020998040ea997e29ae91f355a9fb2e11e Mon Sep 17 00:00:00 2001 From: hselasky Date: Mon, 5 Jan 2015 20:22:18 +0000 Subject: Add 64-bit DMA support in the XHCI controller driver. - Fix some comments and whitespace while at it. MFC after: 1 month Submitted by: marius@ --- sys/dev/usb/controller/ehci_imx.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/dev/usb/controller/ehci_imx.c') diff --git a/sys/dev/usb/controller/ehci_imx.c b/sys/dev/usb/controller/ehci_imx.c index b36e7e6..4473ebc 100644 --- a/sys/dev/usb/controller/ehci_imx.c +++ b/sys/dev/usb/controller/ehci_imx.c @@ -237,7 +237,9 @@ imx_ehci_attach(device_t dev) esc->sc_bus.parent = dev; esc->sc_bus.devices = esc->sc_devices; esc->sc_bus.devices_max = EHCI_MAX_DEVICES; + esc->sc_bus.dma_bits = 32; + /* allocate all DMA memory */ if (usb_bus_mem_alloc_all(&esc->sc_bus, USB_GET_DMA_TAG(dev), &ehci_iterate_hw_softc) != 0) { device_printf(dev, "usb_bus_mem_alloc_all() failed\n"); -- cgit v1.1