Where to put the source of a DD of a custom hardware.

Greg KH greg at kroah.com
Tue Oct 28 22:40:37 EDT 2014


On Tue, Oct 28, 2014 at 03:58:40PM -0200, Raphael Philipe wrote:
> Hi,
> 
> I'm developing a device driver to drive a specific custom hardware,
> that is implemented in FPGA. Since it is an application specific
> device driver, where (in witch folder) should I put Its source in my
> local kernel source tree? Is there any guideline or best practice
> about it?
> 
> This device driver is basically a character device, that copies stuff
> from hardware to kernel space and then from user space.

Why not just use the UIO interface, which does not need a kernel driver
at all?  Why are you needing a char driver?

thanks,

greg k-h



More information about the Kernelnewbies mailing list