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/powerpc | |
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/powerpc')
-rw-r--r-- | sys/powerpc/ps3/ehci_ps3.c | 2 | ||||
-rw-r--r-- | sys/powerpc/ps3/ohci_ps3.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/sys/powerpc/ps3/ehci_ps3.c b/sys/powerpc/ps3/ehci_ps3.c index d516160..2d57943 100644 --- a/sys/powerpc/ps3/ehci_ps3.c +++ b/sys/powerpc/ps3/ehci_ps3.c @@ -89,7 +89,9 @@ ehci_ps3_attach(device_t dev) sc->sc_bus.parent = dev; sc->sc_bus.devices = sc->sc_devices; sc->sc_bus.devices_max = EHCI_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(dev), &ehci_iterate_hw_softc)) return (ENOMEM); diff --git a/sys/powerpc/ps3/ohci_ps3.c b/sys/powerpc/ps3/ohci_ps3.c index a047617..8dc54db 100644 --- a/sys/powerpc/ps3/ohci_ps3.c +++ b/sys/powerpc/ps3/ohci_ps3.c @@ -85,7 +85,9 @@ ohci_ps3_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; + /* get all DMA memory */ if (usb_bus_mem_alloc_all(&sc->sc_bus, USB_GET_DMA_TAG(dev), &ohci_iterate_hw_softc)) return (ENOMEM); |