Hi, At first I would like to say thanks to Saumendra Das and Greg KH for your response and I believe 8250/16550 family of Serial Driver is really good to start as it easily available in market.
I am completely new to this PCI device driver so I just wanted to know that how kernel build pci_dev structure during pci initialization time. what are the pci function are being called and if I take 8250 server family then how interaction is happens between kernel and pci device. To know more about this i went to below files drivers\tty\serial\8250\8250_pci.c drivers\pci (some files) Please suggest me if i am going anything wrong. Regards Rabi On Mon, Jan 18, 2016 at 12:30 PM, Saumendra Dash <[email protected]> wrote: > > -----Original Message----- > From: [email protected] [mailto: > [email protected]] On Behalf Of Greg KH > Sent: Monday, January 18, 2016 10:42 AM > To: Rabinarayan Panigrahi > Cc: [email protected] > Subject: Re: pci device driver > > On Mon, Jan 18, 2016 at 07:23:42AM +0530, Rabinarayan Panigrahi wrote: > > Hi, > > > >> For understanding more about pci device driver i went though below > > links > > > >> http://www.tldp.org/LDP/tlk/dd/pci.html > > > > and > > > >> http://www.makelinux.net/ldd3/ chapter 12 > > > >> but i am trying to understand a bit code side. can some one help me or > >> any resources which will help me to understand more about it. > > >What exactly do you have questions about? Specific questions are best > please. > > Please go through some simple PCI driver code to know more about PCI > programming. > 8250/16550 family of Serial Driver is a good one to start with. > > Thanks, > Saumendra > _______________________________________________ > Kernelnewbies mailing list > [email protected] > http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies > > > ::DISCLAIMER:: > > ---------------------------------------------------------------------------------------------------------------------------------------------------- > > The contents of this e-mail and any attachment(s) are confidential and > intended for the named recipient(s) only. > E-mail transmission is not guaranteed to be secure or error-free as > information could be intercepted, corrupted, > lost, destroyed, arrive late or incomplete, or may contain viruses in > transmission. The e mail and its contents > (with or without referred errors) shall therefore not attach any liability > on the originator or HCL or its affiliates. > Views or opinions, if any, presented in this email are solely those of the > author and may not necessarily reflect the > views or opinions of HCL or its affiliates. Any form of reproduction, > dissemination, copying, disclosure, modification, > distribution and / or publication of this message without the prior > written consent of authorized representative of > HCL is strictly prohibited. If you have received this email in error > please delete it and notify the sender immediately. > Before opening any email and/or attachments, please check them for viruses > and other defects. > > > ---------------------------------------------------------------------------------------------------------------------------------------------------- > >
_______________________________________________ Kernelnewbies mailing list [email protected] http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
