lkml.org 
[lkml]   [2003]   [Feb]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: question about creating char device in 2.4
From
Date
> 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/

\
 
 \ /
  Last update: 2005-03-22 13:32    [W:0.039 / U:0.248 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site