linux device drivers

hi,

this is manju ....

i want linux device drivers source codes.

pls help me

That's quite something, I hope you have a good understanding of C and assembler, plus knowledge of how to communicate with the hardware.

  1. Get the latest stable kernel source from kernel.org (Hint: it's 2.6.28.7)
  2. Unpack the source
  3. Go to the drivers directory
  4. Pick any driver (eg. block/loop.c)

As an alternative to 1-2, your distribution might have a package containing the kernel source, which will usually be unpacked to /usr/src/linux*

This book provides some good insight into device drivers
Linux Device Drivers | O'Reilly Media