From 63ec34020998040ea997e29ae91f355a9fb2e11e Mon Sep 17 00:00:00 2001 From: hselasky 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_pci.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/dev/usb/controller/ohci_pci.c') diff --git a/sys/dev/usb/controller/ohci_pci.c b/sys/dev/usb/controller/ohci_pci.c index fa83d61..c50de54 100644 --- a/sys/dev/usb/controller/ohci_pci.c +++ b/sys/dev/usb/controller/ohci_pci.c @@ -213,6 +213,7 @@ ohci_pci_attach(device_t self) sc->sc_bus.parent = self; sc->sc_bus.devices = sc->sc_devices; sc->sc_bus.devices_max = OHCI_MAX_DEVICES; + sc->sc_bus.dma_bits = 32; /* get all DMA memory */ if (usb_bus_mem_alloc_all(&sc->sc_bus, USB_GET_DMA_TAG(self), -- cgit v1.1