From: Greg KH <gregkh@linuxfoundation.org>
To: Vijay Chauhan <kernel.vijay@gmail.com>
Cc: linux-pci@vger.kernel.org
Subject: Re: [OT] Newbie
Date: Wed, 20 Feb 2013 10:05:05 -0800 [thread overview]
Message-ID: <20130220180505.GA6679@kroah.com> (raw)
In-Reply-To: <CAJ61zBDE7X1V1vgkzTEBFan8rEdpqB7uuzg4Rb=6K9q1=D60Eg@mail.gmail.com>
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
prev parent reply other threads:[~2013-02-20 18:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130220180505.GA6679@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=kernel.vijay@gmail.com \
--cc=linux-pci@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.