On Wed, Feb 20, 2013 at 08:44:27PM +0530, Vijay Chauhan wrote: > Hello Greg, > > Thanks for your reply. > > On Wed, Feb 20, 2013 at 7:47 PM, Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx> wrote: > > On Wed, Feb 20, 2013 at 07:32:03PM +0530, Vijay Chauhan wrote: > >> Hi, > >> > >> I am newbie for PCI. I wanted to learn PCI driver programming in Linux. > >> Please suggest me how to start. Any example (sample code) or tutorial > >> link or book helpful for me. > > > > Doesn't the huge number of example drivers in the kernel sources provide > > a wonderful place to start with? > > > > What specifically are you trying to do here that you need help with? > > Nothing specific as such, I wanted to learn starting from basic and > easy code. drivers/pci/ directory has lots of code but I dont know the > order. Is there any documentation? Some basic and small piece of code > for foundation purpose. If you can suggest me one. Don't pay attention to the drivers/pci/ directory, that is the code that implements the PCI core, no driver needs to mess with that. For an introduction to writing a PCI driver, please see the (outdated, but free) Linux Device Drivers, third edition book. Good luck, greg k-h -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html