summaryrefslogtreecommitdiffstats
path: root/sys/mips
diff options
context:
space:
mode:
authorhselasky <hselasky@FreeBSD.org>2015-02-05 20:03:02 +0000
committerhselasky <hselasky@FreeBSD.org>2015-02-05 20:03:02 +0000
commit181bf69d80b7bd5865db0ef46e187479e37c79cf (patch)
tree268c0cf71c358b6d7804dd83357fb924d2019e8d /sys/mips
parent8800e37beca3e347399e302e260f61685527d702 (diff)
downloadFreeBSD-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/mips')
-rw-r--r--sys/mips/atheros/ar71xx_ehci.c1
-rw-r--r--sys/mips/atheros/ar71xx_ohci.c1
-rw-r--r--sys/mips/cavium/usb/octusb_octeon.c1
-rw-r--r--sys/mips/rmi/xls_ehci.c1
-rw-r--r--sys/mips/rt305x/rt305x_dotg.c1
5 files changed, 5 insertions, 0 deletions
diff --git a/sys/mips/atheros/ar71xx_ehci.c b/sys/mips/atheros/ar71xx_ehci.c
index cc92d8a..89b387b 100644
--- a/sys/mips/atheros/ar71xx_ehci.c
+++ b/sys/mips/atheros/ar71xx_ehci.c
@@ -90,6 +90,7 @@ ar71xx_ehci_attach(device_t self)
sc->sc_bus.parent = self;
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,
diff --git a/sys/mips/atheros/ar71xx_ohci.c b/sys/mips/atheros/ar71xx_ohci.c
index 6292372..72e6de1 100644
--- a/sys/mips/atheros/ar71xx_ohci.c
+++ b/sys/mips/atheros/ar71xx_ohci.c
@@ -76,6 +76,7 @@ ar71xx_ohci_attach(device_t dev)
sc->sc_ohci.sc_bus.parent = dev;
sc->sc_ohci.sc_bus.devices = sc->sc_ohci.sc_devices;
sc->sc_ohci.sc_bus.devices_max = OHCI_MAX_DEVICES;
+ sc->sc_ohci.sc_bus.dma_bits = 32;
/* get all DMA memory */
if (usb_bus_mem_alloc_all(&sc->sc_ohci.sc_bus,
diff --git a/sys/mips/cavium/usb/octusb_octeon.c b/sys/mips/cavium/usb/octusb_octeon.c
index c699aef..a49a363 100644
--- a/sys/mips/cavium/usb/octusb_octeon.c
+++ b/sys/mips/cavium/usb/octusb_octeon.c
@@ -103,6 +103,7 @@ octusb_octeon_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 = OCTUSB_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,
diff --git a/sys/mips/rmi/xls_ehci.c b/sys/mips/rmi/xls_ehci.c
index c4ae065..81758b2 100644
--- a/sys/mips/rmi/xls_ehci.c
+++ b/sys/mips/rmi/xls_ehci.c
@@ -93,6 +93,7 @@ ehci_xls_attach(device_t self)
sc->sc_bus.parent = self;
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,
diff --git a/sys/mips/rt305x/rt305x_dotg.c b/sys/mips/rt305x/rt305x_dotg.c
index 89b4933..1159158 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,
OpenPOWER on IntegriCloud