knewbies project? - updating LDD3 source

DG dangets at gmail.com
Tue May 24 14:14:29 EDT 2011


On Tue, May 24, 2011 at 11:47 AM, Robert P. J. Day
<rpjday at crashcourse.ca> wrote:
> 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

There is a repo on GitHub with the same purpose.  I haven't checked it
out personally, but it's probably worth a look.

https://github.com/martinezjavier/ldd3



More information about the Kernelnewbies mailing list