summaryrefslogtreecommitdiffstats
path: root/sys/arm/lpc
diff options
context:
space:
mode:
authorhselasky <hselasky@FreeBSD.org>2015-01-05 20:22:18 +0000
committerhselasky <hselasky@FreeBSD.org>2015-01-05 20:22:18 +0000
commit63ec34020998040ea997e29ae91f355a9fb2e11e (patch)
treee7f048c78f58264e2b5d8c815f34b15920ae09f7 /sys/arm/lpc
parenta5005e88e59b78e96561d6c1976822b8f09b424e (diff)
downloadFreeBSD-src-63ec34020998040ea997e29ae91f355a9fb2e11e.zip
FreeBSD-src-63ec34020998040ea997e29ae91f355a9fb2e11e.tar.gz
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@
Diffstat (limited to 'sys/arm/lpc')
-rw-r--r--sys/arm/lpc/lpc_ohci.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/arm/lpc/lpc_ohci.c b/sys/arm/lpc/lpc_ohci.c
index d05b3a3..74a6ea3 100644
--- a/sys/arm/lpc/lpc_ohci.c
+++ b/sys/arm/lpc/lpc_ohci.c
@@ -122,6 +122,7 @@ lpc_ohci_attach(device_t dev)
sc->sc_bus.parent = dev;
sc->sc_bus.devices = sc->sc_devices;
sc->sc_bus.devices_max = OHCI_MAX_DEVICES;
+ sc->sc_bus.dma_bits = 32;
if (usb_bus_mem_alloc_all(&sc->sc_bus, USB_GET_DMA_TAG(dev),
&ohci_iterate_hw_softc))
OpenPOWER on IntegriCloud