Re: knewbies project? - updating LDD3 source

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
========================================================================

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux