From 63ec34020998040ea997e29ae91f355a9fb2e11e Mon Sep 17 00:00:00 2001
From: hselasky <hselasky@FreeBSD.org>
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/ohci_fdt.c | 1 +
 1 file changed, 1 insertion(+)

(limited to 'sys/dev/usb/controller/ohci_fdt.c')

diff --git a/sys/dev/usb/controller/ohci_fdt.c b/sys/dev/usb/controller/ohci_fdt.c
index ff6500c..de3d357 100644
--- a/sys/dev/usb/controller/ohci_fdt.c
+++ b/sys/dev/usb/controller/ohci_fdt.c
@@ -99,6 +99,7 @@ ohci_at91_fdt_attach(device_t dev)
 	sc->sc_ohci.sc_bus.parent = dev;
 	sc->sc_ohci.sc_bus.devices = sc->sc_ohci.sc_devices;
 	sc->sc_ohci.sc_bus.devices_max = OHCI_MAX_DEVICES;
+	sc->sc_ohci.sc_bus.dma_bits = 32;
 
 	/* get all DMA memory */
 	if (usb_bus_mem_alloc_all(&sc->sc_ohci.sc_bus,
-- 
cgit v1.1