Linux SCSI subsystem development
 help / color / mirror / Atom feed
From: James Bottomley <James.Bottomley@SteelEye.com>
To: Randy Dunlap <rdunlap@xenotime.net>
Cc: "Boaz Harrosh" <bharrosh@panasas.com>,
	" Jürgen E. Fischer " <fischer@norbit.de>,
	"FUJITA Tomonori" <fujita.tomonori@lab.ntt.co.jp>,
	linux-scsi <linux-scsi@vger.kernel.org>,
	"David A. Hinds" <dahinds@users.sourceforge.net>
Subject: Re: [PATCH 5/6] aha152x.c - Fix check_condition code-path
Date: Thu, 02 Aug 2007 14:08:40 -0500	[thread overview]
Message-ID: <1186081721.3449.27.camel@localhost.localdomain> (raw)
In-Reply-To: <20070802120926.63a76fce.rdunlap@xenotime.net>

On Thu, 2007-08-02 at 12:09 -0700, Randy Dunlap wrote:
> > 5. Now a Test Unit Ready comes in. Already a good second and more after
> >    the eject. The card is clearly not powered by now.
> >    aha152x_internal_queue should check it's own presence. and return 
> >    appropriate value.
> >    Two questions:
> >    a. What should be the return value from a queuecommand handler
> >       when the card is no longer present?
> >    b. What should we check to know we no longer have a card?
> 
> Anyone??

a. Yes, it should return DID_NO_CONNECT via the command result code (as
in set result to this shifted correctly and return 0).
b. no idea ... that depends on the card.

James



  reply	other threads:[~2007-08-02 19:08 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-29 19:10 [patch 0/6] aha152x.c - Cleanup, bugfixes, convert to accessors Boaz Harrosh
2007-07-29 19:16 ` [PATCH 1/6] aha152x.c - In debug mode Boaz Harrosh
2007-07-29 19:18 ` [PATCH 2/6] aha152x.c - use bounce buffer Boaz Harrosh
2007-07-29 19:22 ` [PATCH 3/6] aha152x.c - Preliminary fixes and some comments Boaz Harrosh
2007-07-29 19:24 ` [PATCH 4/6] aha152x.c - Clean Reset path Boaz Harrosh
2007-07-29 19:27 ` [PATCH 5/6] aha152x.c - Fix check_condition code-path Boaz Harrosh
2007-07-31  0:13   ` Randy Dunlap
2007-07-31  7:59     ` Boaz Harrosh
2007-07-31 17:08       ` Randy Dunlap
2007-07-31 18:40       ` Randy Dunlap
2007-08-01 13:51         ` James Bottomley
2007-08-01 16:34           ` Randy Dunlap
2007-08-02 11:26             ` Boaz Harrosh
2007-08-02 19:09               ` Randy Dunlap
2007-08-02 19:08                 ` James Bottomley [this message]
2007-08-02 20:22                 ` Jürgen E. Fischer
2007-08-02 22:47                 ` Randy Dunlap
2007-07-29 19:29 ` [PATCH 6/6] aha152x.c - use data accessors and !use_sg cleanup Boaz Harrosh

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=1186081721.3449.27.camel@localhost.localdomain \
    --to=james.bottomley@steeleye.com \
    --cc=bharrosh@panasas.com \
    --cc=dahinds@users.sourceforge.net \
    --cc=fischer@norbit.de \
    --cc=fujita.tomonori@lab.ntt.co.jp \
    --cc=linux-scsi@vger.kernel.org \
    --cc=rdunlap@xenotime.net \
    /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