All of lore.kernel.org
 help / color / mirror / Atom feed
From: James Bottomley <jejb@steeleye.com>
To: Christoph Hellwig <hch@lst.de>
Cc: SCSI Mailing List <linux-scsi@vger.kernel.org>
Subject: Re: [PATCH] allow a transport to pre-initialize starget_data
Date: Mon, 15 Aug 2005 10:14:10 -0500	[thread overview]
Message-ID: <1124118850.5089.4.camel@mulgrave> (raw)
In-Reply-To: <20050815134210.GA19426@lst.de>

On Mon, 2005-08-15 at 15:42 +0200, Christoph Hellwig wrote:
> Add a new void *transport_data argument to scsi_scan_target so that a
> transport-class can fill in known information before actually scanning
> the target.  This is needed by the upcoming SAS transport class patch.

Given that you're testing fusion, I'm surprised you missed this.

James

diff --git a/drivers/message/fusion/mptspi.c b/drivers/message/fusion/mptspi.c
--- a/drivers/message/fusion/mptspi.c
+++ b/drivers/message/fusion/mptspi.c
@@ -564,7 +564,7 @@ static void mpt_work_wrapper(void *data)
 	mpt_read_ioc_pg_3(hd->ioc);
 	dev_printk(KERN_INFO, &hd->ioc->sh->shost_gendev,
 		   "Integrated RAID detects new device %d\n", disk);
-	scsi_scan_target(&hd->ioc->sh->shost_gendev, 1, disk, 0, 1);
+	scsi_scan_target(&hd->ioc->sh->shost_gendev, 1, disk, 0, 1, NULL);
 }
 
 



  reply	other threads:[~2005-08-15 15:14 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-15 13:42 [PATCH] allow a transport to pre-initialize starget_data Christoph Hellwig
2005-08-15 15:14 ` James Bottomley [this message]
2005-08-15 15:18 ` Luben Tuikov
2005-08-15 15:23   ` James Bottomley
2005-08-15 15:41     ` Luben Tuikov
2005-08-15 15:53       ` James Bottomley
2005-08-15 16:10         ` Luben Tuikov
2005-08-15 16:32           ` James Bottomley
2005-08-15 16:40             ` Luben Tuikov
2005-08-15 15:25   ` Christoph Hellwig
  -- strict thread matches above, loose matches on Subject: below --
2005-08-18 14:17 James.Smart

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=1124118850.5089.4.camel@mulgrave \
    --to=jejb@steeleye.com \
    --cc=hch@lst.de \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.