* [OT] Newbie
@ 2013-02-20 14:02 Vijay Chauhan
2013-02-20 14:17 ` Greg KH
0 siblings, 1 reply; 4+ messages in thread
From: Vijay Chauhan @ 2013-02-20 14:02 UTC (permalink / raw)
To: linux-pci
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.
Thank you,
Vijay
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [OT] Newbie
2013-02-20 14:02 [OT] Newbie Vijay Chauhan
@ 2013-02-20 14:17 ` Greg KH
2013-02-20 15:14 ` Vijay Chauhan
0 siblings, 1 reply; 4+ messages in thread
From: Greg KH @ 2013-02-20 14:17 UTC (permalink / raw)
To: Vijay Chauhan; +Cc: linux-pci
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?
greg k-h
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [OT] Newbie
2013-02-20 14:17 ` Greg KH
@ 2013-02-20 15:14 ` Vijay Chauhan
2013-02-20 18:05 ` Greg KH
0 siblings, 1 reply; 4+ messages in thread
From: Vijay Chauhan @ 2013-02-20 15:14 UTC (permalink / raw)
To: Greg KH; +Cc: linux-pci
Hello Greg,
Thanks for your reply.
On Wed, Feb 20, 2013 at 7:47 PM, Greg KH <gregkh@linuxfoundation.org> 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.
Thank you,
Vijay
> greg k-h
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [OT] Newbie
2013-02-20 15:14 ` Vijay Chauhan
@ 2013-02-20 18:05 ` Greg KH
0 siblings, 0 replies; 4+ messages in thread
From: Greg KH @ 2013-02-20 18:05 UTC (permalink / raw)
To: Vijay Chauhan; +Cc: linux-pci
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@linuxfoundation.org> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-02-20 18:05 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-20 14:02 [OT] Newbie Vijay Chauhan
2013-02-20 14:17 ` Greg KH
2013-02-20 15:14 ` Vijay Chauhan
2013-02-20 18:05 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox