public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: "Thayne Harmon" <THARMON@novell.com>
To: linux-scsi@vger.kernel.org
Subject: question scsi_register verses register_blkdev
Date: Fri, 20 Oct 2006 12:25:24 -0600	[thread overview]
Message-ID: <4538C032.8E7F.00B8.0@novell.com> (raw)
In-Reply-To: <20061020172549.7666.qmail@web31812.mail.mud.yahoo.com>

Hi,

If this is the wrong list, please direct me to the appropriate one, thank you.

I am trying to write a linux driver (I'm new at this) for a standard SCSI host bus adapter.
I have read the Linux Device Drivers book 3rd ed., searched the web and read this list.
I do not understand when one should use 'scsi_register' or 'register_blkdev', or does one use both?
In searching the kernel source, it seems that most of the drivers use scsi_register,
while the device modules sr, sd, etc. use register_blkdev.

The book however never mentions scsi_register as part of a driver.

Could someone give me a clue on this?

Best regards,

Thayne Harmon



  reply	other threads:[~2006-10-20 18:25 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-18 19:43 Mid-layer API? Haefliger, Juerg
2006-10-18 20:08 ` Randy Dunlap
2006-10-19 18:54   ` Haefliger, Juerg
2006-10-20  8:06 ` Luben Tuikov
2006-10-20 15:32   ` Haefliger, Juerg
2006-10-20 17:25     ` Luben Tuikov
2006-10-20 18:25       ` Thayne Harmon [this message]
2006-10-20 21:03         ` question scsi_register verses register_blkdev Stefan Richter
2006-10-23 21:56       ` Mid-layer API? Haefliger, Juerg
2006-10-23 22:53         ` Steven Hayter

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=4538C032.8E7F.00B8.0@novell.com \
    --to=tharmon@novell.com \
    --cc=linux-scsi@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