aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/cavium-octeon/octeon-platform.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/cavium-octeon/octeon-platform.c')
-rw-r--r--arch/mips/cavium-octeon/octeon-platform.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/mips/cavium-octeon/octeon-platform.c b/arch/mips/cavium-octeon/octeon-platform.c
index 62ac30eef5e8..c32d40db6ba6 100644
--- a/arch/mips/cavium-octeon/octeon-platform.c
+++ b/arch/mips/cavium-octeon/octeon-platform.c
@@ -10,6 +10,7 @@
10#include <linux/init.h> 10#include <linux/init.h>
11#include <linux/irq.h> 11#include <linux/irq.h>
12#include <linux/i2c.h> 12#include <linux/i2c.h>
13#include <linux/dma-mapping.h>
13#include <linux/module.h> 14#include <linux/module.h>
14#include <linux/platform_device.h> 15#include <linux/platform_device.h>
15 16
@@ -301,6 +302,10 @@ static int __init octeon_mgmt_device_init(void)
301 ret = -ENOMEM; 302 ret = -ENOMEM;
302 goto out; 303 goto out;
303 } 304 }
305 /* No DMA restrictions */
306 pd->dev.coherent_dma_mask = DMA_BIT_MASK(64);
307 pd->dev.dma_mask = &pd->dev.coherent_dma_mask;
308
304 switch (port) { 309 switch (port) {
305 case 0: 310 case 0:
306 mgmt_port_resource.start = OCTEON_IRQ_MII0; 311 mgmt_port_resource.start = OCTEON_IRQ_MII0;