There is a book from O'Reilly called "Linux Device Drivers" which i have not
read, but which is supposed to be the definitive reference in this regard. I
am sure the currently published version does not cover kernel 2.4 issues.
There is also "Understanding the Linux Kernel" a recent O"Reilly book of
which I have read the first 4 chapters thus far. It is pretty well written;
you will need to understand quite a bit about the i86-32 architecture, as the
early chapters that discuss memory segments are less clear than I would have
hoped, and I am not sure I would have understood them had I not read the
Intel book on programming the i86-32 processors. Still, this book provides a
good deal of knowledge regarding the 2.2.x series kernels.
One other approach to think about, depending on what you are developing for.
Although I haven't written any drivers for a long time, I did at one time
write quite a few device drivers for VMS. Back then (in the dark ages of
command line interfaces...oh wait - I use Linux now) we used to get the
source for an existing device similar to the one we were programming, and
read it through to understand how to handle that type of device before
writing our new drive. That is relatively easy under Linux if your device is
similar in concept and implementation to an existing device.
Neal
On Monday 05 March 2001 14:58, Michael wrote:
> Hi all my friends:
>
> where can I find some stuff about how to develop Linux device driver?
> thank you in advance.
>
> have a nice day!
>
>