From: Douglas Gilbert <dougg@torque.net>
To: linux-scsi@vger.kernel.org
Subject: [PATCH] scsi_mid_low_api.txt in lk 2.5.72+
Date: Wed, 18 Jun 2003 22:37:42 +1000 [thread overview]
Message-ID: <3EF05D16.1060101@torque.net> (raw)
[-- Attachment #1: Type: text/plain, Size: 1102 bytes --]
The scsi_mid_low_api.txt file describes the interface
between the SCSI mid level and a low level driver,
seen from the latter's perspective. It is found in
the kernel source in the Documentation/scsi directory.
The attachment incorporates a patch sent to me by Christoph
and ideas in Mike Anderson's refcounting document (url?).
It anticipates various patches that Christoph has sent to
this list being accepted. These include:
- addition of scsi_host_alloc()
- renaming of struct SHT to struct scsi_host_template
The attachment (gzipped due to its size) is a diff against
lk 2.5.72 . A gzipped version of the document can be found at:
http://www.torque.net/scsi/scsi_mid_low_api.txt.gz
Idea: perhaps scsi_add_host() could have an extra argument
to inhibit the scsi device scan (or alternatively a new field
in struct scsi_host_template and struct Scsi_Host). Then
LLDs that know about their devices hot (un)plugging can use
scsi_add_device() and scsi_remove_device() at their leisure.
[Actually ieee1394/sbp2.c is already doing this ...]
Comments and corrections welcome.
Doug Gilbert
[-- Attachment #2: scsi_mid_low_api.txt2572dg.diff.gz --]
[-- Type: application/x-gzip, Size: 15358 bytes --]
next reply other threads:[~2003-06-18 12:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-18 12:37 Douglas Gilbert [this message]
2003-06-18 18:30 ` [PATCH] scsi_mid_low_api.txt in lk 2.5.72+ Christoph Hellwig
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=3EF05D16.1060101@torque.net \
--to=dougg@torque.net \
--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