|
@@ -753,7 +753,7 @@ static int mpsc_alloc_ring_mem(struct mpsc_port_info *pi)
|
|
pi->port.line);
|
|
pi->port.line);
|
|
|
|
|
|
if (!pi->dma_region) {
|
|
if (!pi->dma_region) {
|
|
- if (!dma_supported(pi->port.dev, 0xffffffff)) {
|
|
|
|
|
|
+ if (!dma_set_mask(pi->port.dev, 0xffffffff)) {
|
|
printk(KERN_ERR "MPSC: Inadequate DMA support\n");
|
|
printk(KERN_ERR "MPSC: Inadequate DMA support\n");
|
|
rc = -ENXIO;
|
|
rc = -ENXIO;
|
|
} else if ((pi->dma_region = dma_alloc_noncoherent(pi->port.dev,
|
|
} else if ((pi->dma_region = dma_alloc_noncoherent(pi->port.dev,
|