Date: Thu, 13 Dec 2018 15:34:02 +0530 From: Rajesh Kumar <rajfbsd@gmail.com> To: freebsd-drivers@freebsd.org, freebsd-hackers@freebsd.org Subject: How to use the DMA Engine in FreeBSD? Message-ID: <CAAO%2BANOty8FeOR7VQdXmxWy5y288pm=Q4cswHJ1BbgT2h1cUWg@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hi, Is there any good documentation available to understand the existing support, API's and how-to use the DMA Engine in FreeBSD? I am trying to write a test driver which will use DMA Engine to do the data transfer (rather than plain memcpy which involves cpu). Can anyone point to any driver implementation which has similar functions implemented? I see references to SYS_RES_DRQ to allocate DMA channels and play around. But that seems to be specific to ISA. Can it be used for PCI drivers as well? Thanks, Rajesh.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAAO%2BANOty8FeOR7VQdXmxWy5y288pm=Q4cswHJ1BbgT2h1cUWg>