diff options
author | hselasky <hselasky@FreeBSD.org> | 2015-02-05 20:03:02 +0000 |
---|---|---|
committer | hselasky <hselasky@FreeBSD.org> | 2015-02-05 20:03:02 +0000 |
commit | 181bf69d80b7bd5865db0ef46e187479e37c79cf (patch) | |
tree | 268c0cf71c358b6d7804dd83357fb924d2019e8d /sys/dev/usb/controller/uhci_pci.c | |
parent | 8800e37beca3e347399e302e260f61685527d702 (diff) | |
download | FreeBSD-src-181bf69d80b7bd5865db0ef46e187479e37c79cf.zip FreeBSD-src-181bf69d80b7bd5865db0ef46e187479e37c79cf.tar.gz |
MFC r266969 and r276717:
Add 64-bit DMA support in the XHCI controller driver.
- Fix some comments and whitespaces while at it.
- Add support for PAE.
Diffstat (limited to 'sys/dev/usb/controller/uhci_pci.c')
-rw-r--r-- | sys/dev/usb/controller/uhci_pci.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/usb/controller/uhci_pci.c b/sys/dev/usb/controller/uhci_pci.c index 454b904..4ac0d54 100644 --- a/sys/dev/usb/controller/uhci_pci.c +++ b/sys/dev/usb/controller/uhci_pci.c @@ -261,6 +261,7 @@ uhci_pci_attach(device_t self) sc->sc_bus.parent = self; sc->sc_bus.devices = sc->sc_devices; sc->sc_bus.devices_max = UHCI_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), |