Where to put board-specific drivers
Sean MacLennan
smaclennan at pikatech.com
Fri Sep 3 07:24:34 EST 2010
On Thu, 2 Sep 2010 14:12:22 -0700
"Ira W. Snyder" <iws at ovro.caltech.edu> wrote:
> To give you three example drivers:
> 1) Data processing FPGA access driver
>
> This driver provides a simple character device to userspace which
> exposes one function: mmap. With it, you can mmap the entire data
> processing FPGA memory window into your process. With this, I provide
> non-realtime FPGA control to userspace applications.
>
> 2) Data processing FPGA capture driver
>
> This driver provides a simple character device to userspace which
> supports one function: read. Internally, it maintains a list of
> buffers which hold capture data. When the FPGA's are processing data,
> they dump data at 64Hz (every 15.625ms). If the data is not copied
> off the chips before the next dump, data is lost.
>
> DMA is required to move the data volume off the FPGAs fast enough to
> keep timing. Therefore this really does need to be in-kernel.
Could these drivers be merged?
Cheers,
Sean
More information about the Linuxppc-dev
mailing list