PDA

View Full Version : Driver Development in C Language


dahbal
January 23rd, 2006, 10:12 PM
Hi All,

I am doing job as Software Engineer(Quality).I work on testing of iSCSI and FC driver testing(HBA Driver testing).Start this job few months back.I want to move in development from Testing.For I want to learn the Driver Development in Linux OS or IBM AIX.I forgot C programming because I didn't do any programming (Coding).I want to learn Pointer in C first again and then Driver Development in C Language. Can anybody told me how to start Driver Development learning process from basics?

Is there any online books for C language(specially for Pointer in C),Driver Development explaining A-Z from start(I mean for beginners).

I will really appreciate if any jat bhai give me some guidence or help on Driver Development on Linux.

Thanks in advance.

Regards,
Balraj
dahbal@hotmail.com

neetu21
January 23rd, 2006, 11:16 PM
i hope following links may be of some use to you:

1) C ebooks:
http://rapidshare.de/files/10376044/0596006977.zip //C in a Nutshell

http://lab.lpicn.org/pub/books/O'%20Reilly%20-%20Practical%20C%20Programming%203rd%20Edition.pdf //Practical C programming

http://www.itebooks.net/onlineebooks/CandCpp.html

for C pointers and memory topic,
http://www.sourcecodesworld.com/articles/c/pointers-and-memory/

2) Linux
http://lab.lpicn.org/pub/books/linux_programming_unleashed.pdf

http://files.nixp.ru/books/programming/O'Reilly%20--%20Linux%20Device%20Drivers,%202nd%20Edition.pdf

dahbal
January 24th, 2006, 12:28 AM
Thanks a lot,Neetu.

vijay
January 24th, 2006, 11:42 AM
Hi Balraj,

Check these links. I hope you will find them useful.

Worksheet
http://www.cs.arizona.edu/computer.help/policy/DIGITAL_unix/AA-PUBVD-TE_html/drivertut29.html

basics
http://www.codeproject.com/system/idd.asp
http://docsun.cites.uiuc.edu/sun_docs/C/solaris_9/SUNWdev/DRIVER/p84.html#LOADING-1
http://users.evtek.fi/~tk/rt_html/ASICS.HTM
http://www.rt.db.erau.edu/experiments/drivers/fundamentals.html


for LINUX special
http://www.tldp.org/LDP/khg/HyperNews/get/devices/devices.html
http://www.linuxdevices.com/articles/AT5340618290.html
http://www.scyld.com/modules.html
http://www.freeos.com/articles/2677/
http://www.phptr.com/articles/article.asp?p=29445&seqNum=6&rl=1
http://users.evtek.fi/~tk/rtos/writing_linux_device_d.html

And the best tutorials
http://www.cs.arizona.edu/computer.help/policy/DIGITAL_unix/AA-PUBVD-TE_html/TOC.html
http://www.xml.com/ldd/chapter/book/ch01.html


Cheers !

dahbal
January 24th, 2006, 07:53 PM
Thanks Vijay.Yes,these links are really helpful.


Hi Balraj,

Check these links. I hope you will find them useful.

Worksheet
http://www.cs.arizona.edu/computer.help/policy/DIGITAL_unix/AA-PUBVD-TE_html/drivertut29.html

basics
http://www.codeproject.com/system/idd.asp
http://docsun.cites.uiuc.edu/sun_docs/C/solaris_9/SUNWdev/DRIVER/p84.html#LOADING-1
http://users.evtek.fi/~tk/rt_html/ASICS.HTM
http://www.rt.db.erau.edu/experiments/drivers/fundamentals.html


for LINUX special
http://www.tldp.org/LDP/khg/HyperNews/get/devices/devices.html
http://www.linuxdevices.com/articles/AT5340618290.html
http://www.scyld.com/modules.html
http://www.freeos.com/articles/2677/
http://www.phptr.com/articles/article.asp?p=29445&seqNum=6&rl=1
http://users.evtek.fi/~tk/rtos/writing_linux_device_d.html

And the best tutorials
http://www.cs.arizona.edu/computer.help/policy/DIGITAL_unix/AA-PUBVD-TE_html/TOC.html
http://www.xml.com/ldd/chapter/book/ch01.html


Cheers !

sandeepji
April 19th, 2006, 01:42 AM
hi

according me for driver dev. if u some have knowledge in (80x86)assembly language that will good.

first learn TSR programming.

then interrupt handling in C

then the OS internal on which u will u want to dev.

in OS internal the the interrupt routines and IVT TABLE handling etc.

best of luck ............i hope that u complete my uncompleted dreams( my own OS):D