Re: Current doc for writing device drivers?

From: Jeff Garzik (jgarzik@mandrakesoft.com)
Date: Mon Nov 13 2000 - 10:53:30 EST


Steven_Snyder@3com.com wrote:
> My device driver reference "Linux Device Drivers" (Rubini, published by O'Reilly
> on Feb. '98) is getting pretty long in the tooth. The book's primary focus is
> on Linux v2.0.x, with some v2.2.x material tacked on to the end.
>
> What reference(s) are recommended for current (v2.2/v2.4) Linux kernels?

The Rubini book is being updated for 2.2 and 2.4, but I dunno when it
will go to press.

The best reference is the source code. When working with the Linux
kernel, you -quickly- learn to hone your code-reading skills, because
the code is the best documentation.

When you want to figure out how to do something, find a similar example
in the kernel source tree. When you want to figure out the conditions
under which certain code is called, examine all callers. And all
callers of callers. Until you are satisfied you see the complete call
path.

Use the source Luke :)

-- 
Jeff Garzik             |
Building 1024           | The chief enemy of creativity is "good" sense
MandrakeSoft            |          -- Picasso
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Nov 15 2000 - 21:00:23 EST