public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Erik Mouw <erik@harddisk-recovery.com>
To: keirwu pk <kwpk_55@hotmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: newbie driver question
Date: Wed, 21 Jan 2004 11:15:30 +0100	[thread overview]
Message-ID: <20040121101530.GF24745@bitwizard.nl> (raw)
In-Reply-To: <BAY13-F43DRdNOUivlQ00007193@hotmail.com>

On Wed, Jan 21, 2004 at 05:33:10AM +0000, keirwu pk wrote:
> what is the best way to write scsi driver for a scsi device?.got latest 
> kernel.
> any examples, sources. what are typical library calls?.  sg-Howto would 
> help?.

The sg interface is all you need to write a driver for some kind of
exotic scsi device. Everything is handled in userland, no need to do it
in kernel. That's how scsi scanners and cd writers are handled.
The scsi-generic howto tells you how to use it, it even has programming
examples.


Erik

-- 
+-- Erik Mouw -- www.harddisk-recovery.com -- +31 70 370 12 90 --
| Lab address: Delftechpark 26, 2628 XH, Delft, The Netherlands

      reply	other threads:[~2004-01-21 10:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-21  5:33 newbie driver question keirwu pk
2004-01-21 10:15 ` Erik Mouw [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=20040121101530.GF24745@bitwizard.nl \
    --to=erik@harddisk-recovery.com \
    --cc=kwpk_55@hotmail.com \
    --cc=linux-kernel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox