lkml.org 
[lkml]   [2009]   [Oct]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: Sample PCI Linux Device Driver
On Thu, Oct 8, 2009 at 2:58 PM, mankan srinivas <s_mankan@hotmail.com> wrote:
>
>  <BAY138-W201EAB14A34CDEFC5AFFCBE5CC0@phx.gbl>
>
>
>  <20091008162203.GA13403@kroah.com>
> Content-Type: text/plain; charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
> MIME-Version: 1.0

First, please fix your mail client - it's munging your mails rather
badly, as you can see.

> Hello=2C
> =20
> 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 informati=
> on about low-level driver code talks to the hardware. Any real example code=
>  is greatly appreciated.

The entire linux kernel is open source - just look under drivers/ for
plenty of example code. If you're stuck, a 'grep linux/pci.h -R
drivers' should find you PCI drivers. (Note that drivers/pci contains
pci core code, which is probably not what you want)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2009-10-08 23:49    [W:0.050 / U:0.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site