From mboxrd@z Thu Jan 1 00:00:00 1970 From: greg@kroah.com (Greg KH) Date: Wed, 29 Oct 2014 10:40:37 +0800 Subject: Where to put the source of a DD of a custom hardware. In-Reply-To: References: Message-ID: <20141029024037.GA7338@kroah.com> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org 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