Re: question about creating char device in 2.4

From: Jonathan Corbet (corbet@lwn.net)
Date: Wed Feb 05 2003 - 17:32:56 EST


> How would you go about hooking in to the 2.4 char device code to do
> something equivalent?

Linux Device Drivers has a great deal of discussion on portability between
2.2 and 2.4; it also has example code which could be easily adapted to
create your "finite capacity bit bucket" device. It's available online at
http://www.xml.com/ldd/chapter/book/index.html, but, of course, you'll want
to go and buy at least three copies for your desk...

jon

Jonathan Corbet
Executive editor, LWN.net
corbet@lwn.net
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Feb 07 2003 - 22:00:18 EST