From: James Bottomley <James.Bottomley@SteelEye.com>
To: Srdjan Todorovic <todorovic.s@googlemail.com>
Cc: linux-scsi@vger.kernel.org
Subject: Re: initio.h header user confusion
Date: Wed, 21 Feb 2007 10:57:02 -0600 [thread overview]
Message-ID: <1172077022.3335.24.camel@mulgrave.il.steeleye.com> (raw)
In-Reply-To: <Pine.LNX.4.63.0702211558220.5167@thor.lan>
On Wed, 2007-02-21 at 16:12 +0000, Srdjan Todorovic wrote:
> I'm working on a set of patches for the initio scsi driver and I found
> some strangeness with its header file, initio.h. I noticed that
> sun3_scsi.c and sun3_scsi_vme.c include the header, and it uses defines
> such as SCSI_ABORT_SNOOZE (defined in initio.h).
It's a remnant of the old 2.4 error handler and should be excised.
In early 2.4 or perhaps even 2.2 the error handler ran in interrupt
context, so there was no way of waiting for an abort to complete, hence
this return value (it told the eh to wait a while for the abort).
In 2.6 all eh routines run in the context of the host eh thread, so you
can use standard msleep() etc. calls to wait for aborts to timeout or
complete.
James
next prev parent reply other threads:[~2007-02-21 16:57 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-21 16:12 initio.h header user confusion Srdjan Todorovic
2007-02-21 16:20 ` Matthew Wilcox
2007-02-21 16:36 ` Srdjan Todorovic
2007-02-21 16:52 ` Matthew Wilcox
2007-02-21 16:57 ` James Bottomley [this message]
2007-02-21 17:33 ` Srdjan Todorovic
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=1172077022.3335.24.camel@mulgrave.il.steeleye.com \
--to=james.bottomley@steeleye.com \
--cc=linux-scsi@vger.kernel.org \
--cc=todorovic.s@googlemail.com \
/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