Linux driver reports DMA buffer address
This commit is contained in:
parent
5632ffc6b2
commit
60800cce4b
|
@ -209,7 +209,8 @@ static int puzzlefw_probe(struct platform_device *pdev)
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
dev_info(&pdev->dev, "%lu bytes DMA buffer\n",
|
dev_info(&pdev->dev, "DMA buffer at 0x%08lx size 0x%lx bytes\n",
|
||||||
|
(unsigned long)drvdata->dma_buf_addr,
|
||||||
(unsigned long)drvdata->dma_buf_size);
|
(unsigned long)drvdata->dma_buf_size);
|
||||||
|
|
||||||
/* Set up privileged FPGA registers to access the DMA buffer. */
|
/* Set up privileged FPGA registers to access the DMA buffer. */
|
||||||
|
|
Loading…
Reference in New Issue