From: "Adam J. Richter" <adam@yggdrasil.com>
To: linux-kernel@vger.kernel.org
Subject: linux-2.5.6 scsi DMA mapping and compilation fixes (not yet working)
Date: Tue, 12 Mar 2002 12:56:21 -0800 [thread overview]
Message-ID: <200203122056.MAA05893@adam.yggdrasil.com> (raw)
Warning: these drivers do not work yet.
ftp://ftp.yggdrasil.com/private/adam/scsi-linux-2.5.6-diff.gz
This patch allows all of the SCSI drivers that are available on
x86 to build, except for these:
o The NCR53c80-based drivers (according to Alan Cox, there
is a new driver in the 2.4.x tree, and I don't want to
add a port of that driver to this already huge patch).
o 53c7,8xx - I believe we have other scsi drivers that
cover the same hardware, so I have skipped this driver.
o dpt_i2o - I need to understand the i2o system a little more
to determine whether all of the similar looking code in
drivers/messages/i2o and dpt_i2o is redundant or necessary.
The patch adds a little code to scsi.c to allow scsi drivers
to tell the mid-level code to automatically map and unmap gather/scatter
lists. This has simplified the porting process immensely.
The patch also adds a routine for using the SCSI request
scratchpad area for accessing scsi requests in memory (primarily
for non-DMA drivers). This eliminated some code replicated in
a multiple scsi drivers and basically enabled me to the need to
add very many calls to kmap and kunmap in each driver.
There are also a few patches that juat add PCI or ISAPnP
device ID's, so that the boards will work with automatic
module loading based on device ID's.
I owe an email to Tim Sullivan who tried my BusLogic and found
that it paniced at initialization. So, these drivers probably do not
work yet. Nevertheless, I would be interested in people looking
at the patch or even trying it just to see how it fares on other
hardware. All that I know is that the code compiles and has no undefined
symbols, except for scsi_reset_host in BusLogic.c (I guess you can
comment it out for now, which is I told Tim to try).
I want to emphasize that this patch is just a snapshot of
work in progress at this point. I just finished getting the drivers
to compile and link. I am going to step away from this for a while,
perhaps until tomorrow, but I thought I should post this in case
anyone is interested.
Adam J. Richter __ ______________ 4880 Stevens Creek Blvd, Suite 104
adam@yggdrasil.com \ / San Jose, California 95129-1034
+1 408 261-6630 | g g d r a s i l United States of America
fax +1 408 261-6631 "Free Software For The Rest Of Us."
next reply other threads:[~2002-03-12 20:56 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-12 20:56 Adam J. Richter [this message]
2002-03-12 23:42 ` Russell King
2002-03-13 16:51 ` Alan Cox
2002-03-12 23:55 Adam J. Richter
2002-03-13 0:02 ` Russell King
2002-03-13 14:31 ` Dave Jones
2002-03-13 0:23 Adam J. Richter
2002-03-13 14:33 ` Dave Jones
2002-03-13 15:51 Adam J. Richter
2002-03-13 16:22 ` Alan Cox
2002-03-13 17:17 Adam J. Richter
2002-03-13 17:38 ` Alan Cox
2002-03-14 1:02 Adam J. Richter
2002-03-14 1:27 ` Alan Cox
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=200203122056.MAA05893@adam.yggdrasil.com \
--to=adam@yggdrasil.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
all inboxes | Powered by JetHome®