[PATCH 1/2] misc: add CARMA DATA-FPGA Access Driver
David Laight
David.Laight at ACULAB.COM
Thu Feb 10 03:30:23 EST 2011
> This driver allows userspace to access the data processing
> FPGAs on the OVRO CARMA board. It has two modes of operation:
>
> 1) random access
>
> This allows users to poke any DATA-FPGA registers by using mmap to map
> the address region directly into their memory map.
I needed something similar, but used pread() and pwrite()
to request the transfers.
While this does require a system call per transfer, it allows
the driver to use dma (if available) to speed up the request.
In my case doing single cycle transfers would be too slow.
David
More information about the Linuxppc-dev
mailing list