aboutsummaryrefslogtreecommitdiff
path: root/sys/mips/rt305x
diff options
context:
space:
mode:
authorHans Petter Selasky <hselasky@FreeBSD.org>2015-01-05 20:22:18 +0000
committerHans Petter Selasky <hselasky@FreeBSD.org>2015-01-05 20:22:18 +0000
commitb217d1841299b7cbb400f6b2e9d66189897eb8c0 (patch)
treee7f048c78f58264e2b5d8c815f34b15920ae09f7 /sys/mips/rt305x
parentf045564dbb35efd43cbb67829afa1e559d381662 (diff)
downloadsrc-b217d1841299b7cbb400f6b2e9d66189897eb8c0.tar.gz
src-b217d1841299b7cbb400f6b2e9d66189897eb8c0.zip
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@
Notes
Notes: svn path=/head/; revision=276717
Diffstat (limited to 'sys/mips/rt305x')
-rw-r--r--sys/mips/rt305x/rt305x_dotg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/mips/rt305x/rt305x_dotg.c b/sys/mips/rt305x/rt305x_dotg.c
index 89b493321da4..1159158b82eb 100644
--- a/sys/mips/rt305x/rt305x_dotg.c
+++ b/sys/mips/rt305x/rt305x_dotg.c
@@ -92,6 +92,7 @@ dotg_obio_attach(device_t dev)
sc->sc_dci.sc_bus.parent = dev;
sc->sc_dci.sc_bus.devices = sc->sc_dci.sc_devices;
sc->sc_dci.sc_bus.devices_max = DOTG_MAX_DEVICES;
+ sc->sc_dci.sc_bus.dma_bits = 32;
/* get all DMA memory */
if (usb_bus_mem_alloc_all(&sc->sc_dci.sc_bus,