From: Grant Grundler <grundler@parisc-linux.org>
To: mankan srinivas <s_mankan@hotmail.com>
Cc: linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: Sample PCI Linux Device Driver
Date: Fri, 9 Oct 2009 11:48:02 -0600 [thread overview]
Message-ID: <20091009174802.GA10309@lackof.org> (raw)
In-Reply-To: <BAY138-W981A223FAD78C301641E6E5CC0@phx.gbl>
On Thu, Oct 08, 2009 at 06:58:01PM +0000, mankan srinivas wrote:
> I am working on developing PCI based Linux Device Driver. Could you
> please send me few sample code. I am looking for the code which has more
> information about low-level driver code talks to the hardware. Any real
> example code is greatly appreciated.
Please start by reading Documentation/PCI/pci.txt and MSI-HOWTO.txt
Lots more useful info in Documentation/ that should help you out
(e.g. suspend/resume, hotplug, DMA API, etc)
Here are some specific driver examples:
drivers/net/forcedeth.c
drivers/net/e1000e/
drivers/scsi/mpt2sas/
drivers/ata/sata_sil24.c
drivers/ata/sata_mv.c
hth,
grant
next prev parent reply other threads:[~2009-10-09 17:48 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <BAY108-F18507D362F5105C57CCC2FE59E0@phx.gbl>
[not found] ` <20070214064427.GA15497@kroah.com>
[not found] ` <20091008162203.GA13403@kroah.com>
2009-10-08 18:58 ` Sample PCI Linux Device Driver mankan srinivas
2009-10-08 21:38 ` Bryan Donlan
2009-10-09 17:48 ` Grant Grundler [this message]
2009-10-12 21:42 ` Heiko J Schick
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=20091009174802.GA10309@lackof.org \
--to=grundler@parisc-linux.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=s_mankan@hotmail.com \
/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.