diff options
author | hselasky <hselasky@FreeBSD.org> | 2015-01-05 20:22:18 +0000 |
---|---|---|
committer | hselasky <hselasky@FreeBSD.org> | 2015-01-05 20:22:18 +0000 |
commit | 63ec34020998040ea997e29ae91f355a9fb2e11e (patch) | |
tree | e7f048c78f58264e2b5d8c815f34b15920ae09f7 /sys/dev/usb/controller/dwc_otg_fdt.c | |
parent | a5005e88e59b78e96561d6c1976822b8f09b424e (diff) | |
download | FreeBSD-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/dev/usb/controller/dwc_otg_fdt.c')
-rw-r--r-- | sys/dev/usb/controller/dwc_otg_fdt.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/usb/controller/dwc_otg_fdt.c b/sys/dev/usb/controller/dwc_otg_fdt.c index 938ef35..3645d52b 100644 --- a/sys/dev/usb/controller/dwc_otg_fdt.c +++ b/sys/dev/usb/controller/dwc_otg_fdt.c @@ -99,6 +99,7 @@ dwc_otg_attach(device_t dev) sc->sc_otg.sc_bus.parent = dev; sc->sc_otg.sc_bus.devices = sc->sc_otg.sc_devices; sc->sc_otg.sc_bus.devices_max = DWC_OTG_MAX_DEVICES; + sc->sc_otg.sc_bus.dma_bits = 32; /* get USB mode, if any */ if (OF_getprop(ofw_bus_get_node(dev), "dr_mode", |