kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: felixv1986@gmail.com (Felix Varghese)
To: kernelnewbies@lists.kernelnewbies.org
Subject: How to write linux drivers?
Date: Mon, 13 Jun 2011 11:44:29 +0530	[thread overview]
Message-ID: <BANLkTi=E-4Cr+A=gu7ndsXcgcVXhidqWtg@mail.gmail.com> (raw)
In-Reply-To: <SNT114-W335106A4853A64002DFE97B5660@phx.gbl>

Lalit Pratap Singh <lalitpratap@hotmail.com> wrote:
> I just wanted to know that, How can i write the smallest driver and test it?

Linux Device Drivers 3rd edition (link provided by Rajat above) was
what got me started and is still my reference whenever I get stuck.
Chapter 2, pg 16 has the do-nothing 'hello world' driver you are
looking for.

Lalit Pratap Singh <lalitpratap@hotmail.com> wrote:
> I want some basic tutorial links also.

You can find a decent tutorial at
http://www.freesoftwaremagazine.com/articles/drivers_linux?page=0%2C0

      parent reply	other threads:[~2011-06-13  6:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-12  7:41 How to write linux drivers? Lalit Pratap Singh
2011-06-12  7:46 ` Rajat Sharma
2011-06-12 15:47   ` esmaeil mirzaee
2011-06-13  6:14 ` Felix Varghese [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='BANLkTi=E-4Cr+A=gu7ndsXcgcVXhidqWtg@mail.gmail.com' \
    --to=felixv1986@gmail.com \
    --cc=kernelnewbies@lists.kernelnewbies.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).