[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <3e8340490910081438g36c2a9c4r461c7a04234a7008@mail.gmail.com>
Date: Thu, 8 Oct 2009 17:38:43 -0400
From: Bryan Donlan <bdonlan@...il.com>
To: mankan srinivas <s_mankan@...mail.com>
Cc: linux-pci@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: Sample PCI Linux Device Driver
On Thu, Oct 8, 2009 at 2:58 PM, mankan srinivas <s_mankan@...mail.com> wrote:
>
> <BAY138-W201EAB14A34CDEFC5AFFCBE5CC0@....gbl>
>
>
> <20091008162203.GA13403@...ah.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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists