summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/controller/ehci_imx.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/usb/controller/ehci_imx.c')
-rw-r--r--sys/dev/usb/controller/ehci_imx.c2
1 files changed, 2 insertions, 0 deletions
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");
OpenPOWER on IntegriCloud