mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@infradead.org>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Christoph Hellwig <hch@infradead.org>,
	Linux Kernel Development <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] helper for device list traversal
Date: Sat, 27 Sep 2003 13:18:53 +0100	[thread overview]
Message-ID: <20030927131853.A22669@infradead.org> (raw)
In-Reply-To: <Pine.GSO.4.21.0309271348560.6768-100000@vervain.sonytel.be>; from geert@linux-m68k.org on Sat, Sep 27, 2003 at 02:15:56PM +0200

On Sat, Sep 27, 2003 at 02:15:56PM +0200, Geert Uytterhoeven wrote:
> The A2091 and GVP-II drivers want to traverse the list of SCSI host adapters in
> their interrupt handler, to find their Scsi_Host instances and check whether
> the (shared) interrupt was meant for one of them.
> 
> An alternative would be to register the interrupt handler multiple times and
> use the Scsi_Host instance pointer as the interrupt handler data pointer.

Yes, they should do that.

> For 53c7xx it's a bit more complex, I don't know anything about its internals.

The occurance in #if 0 code should probably use scsi_lookup_host.
process_issue_queue needs to be rewritten to be per-host.


  reply	other threads:[~2003-09-27 12:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200309270508.h8R58tHE015032@hera.kernel.org>
2003-09-27 11:34 ` Geert Uytterhoeven
2003-09-27 11:39   ` Christoph Hellwig
2003-09-27 12:15     ` Geert Uytterhoeven
2003-09-27 12:18       ` Christoph Hellwig [this message]
2003-09-27 12:15   ` 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=20030927131853.A22669@infradead.org \
    --to=hch@infradead.org \
    --cc=geert@linux-m68k.org \
    --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®