knewbies project? - updating LDD3 source
Robert P. J. Day
rpjday at crashcourse.ca
Tue May 24 13:47:15 EDT 2011
On Tue, 24 May 2011, Jim Cromie wrote:
> over at http://code.google.com/p/ldd3/
> it says:
> The famous "Linux Device Drivers" released the sample code. but the
> code does not reflect the latest kernel updates, some of code cannot
> even compile. This project is to make it compatible with the current
> kernel.
>
> http://lwn.net/Kernel/LDD3/
> http://examples.oreilly.com/9780596005900/
the one caution i would give here is that quite a bit of code in
LDD3 shouldn't be updated, anyway, since it reflects features that
have been deprecated for quite some time.
for instance, no one should be writing proc files anymore. also,
ioctl()s are also discouraged for the most part. so i would be
selective about what parts of LDD3 code *should* be updated as
examples of good kernel programming.
rday
--
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================
More information about the Kernelnewbies
mailing list