@nl.linux.org
Subject: RE: writing integers to the char device driver
Hi Willis,
To get EOF in the application program, you just need to return 0 at your
driver's read function. IMHO, I think that you can use IOCTL to do your
driver easily.
Like
Hi Willis,
To get EOF in the application program, you just need to return 0 at your
driver's read function. IMHO, I think that you can use IOCTL to do your
driver easily.
Like this:
multi.h
#ifndef MULTI_H
#define MULTI_H
#include linux/ioctl.h
Hi Willis,
How is your FPGA peripheral accessed ? Is it memory-mapped or you need
special IO command ?
If it is memory mapped, maybe you can ask the kernel to map the
registers into your process (using mmap), so you don't have to design
your own device driver.
Btw, I'm currently driver
...@nl.linux.org [kernelnewbies-bou...@nl.linux.org] On
Behalf Of Daniel Widyanto [daniel.widya...@qesslink.com]
Sent: Thursday, February 19, 2009 4:16 AM
To: kernelnewbies@nl.linux.org
Subject: Re: writing integers to the char device driver
Hi Willis,
How is your FPGA peripheral accessed
Hi,
On Wed, Feb 18, 2009 at 8:29 PM, Troy, Willis willis_t...@baylor.edu wrote:
Howdy,
I am fairly new to device drivers and this list, but I'm sure someone in here
can help me.
First, some background. I am working on device drivers for a FPGA that is
currently running kernel 2.6.28,
integers to the char device driver
Hi,
On Wed, Feb 18, 2009 at 8:29 PM, Troy, Willis willis_t...@baylor.edu wrote:
Howdy,
I am fairly new to device drivers and this list, but I'm sure someone in here
can help me.
First, some background. I am working on device drivers for a FPGA
Hi!
On 13:29 Wed 18 Feb , Troy, Willis wrote:
Howdy,
I am fairly new to device drivers and this list, but I'm sure someone in here
can help me.
First, some background. I am working on device drivers for a FPGA that is
currently running kernel 2.6.28, because it is an FPGA I can