From: Mike Anderson <andmike@us.ibm.com>
To: James Bottomley <James.Bottomley@steeleye.com>
Cc: linux-scsi@vger.kernel.org, hch@infradead.org, dougg@torque.net
Subject: Re: [PATCH] scsi sysfs update 3
Date: Mon, 2 Dec 2002 09:02:28 -0800 [thread overview]
Message-ID: <20021202170228.GA1363@beaverton.ibm.com> (raw)
In-Reply-To: <200211281917.gASJH9c05479@localhost.localdomain>
James Bottomley [James.Bottomley@steeleye.com] wrote:
> andmike@us.ibm.com said:
> > I have attached an updated combined patch of my previously posted
> > sysfs changes.
>
> I'm getting ready to put this in scsi-misc-2.5
>
> I have misgivings about the removal of the scsi bus type, but I know looking
> at scsi host adapters as bridges isn't a universal view point.
>
James,
Christoph and Douglas Gilbert detected a compile error in
ide-scsi with the sysfs update in scsi-misc-2.5. Christoph sent
a RFC patch to LKML that request feedback on the removal of the
transform function in ide-scsi. In the short term I am
forwarding Doug's patch against scsi-misc-2.5 that restores
previous functionality by using the sysfs driver name.
-andmike
--
Michael Anderson
andmike@us.ibm.com
--- linux/drivers/scsi/ide-scsi.c 2002-11-23 13:01:23.000000000 +1100
+++ linux/drivers/scsi/ide-scsi.c2550mike 2002-12-01 00:44:26.000000000 +1100
@@ -764,7 +764,7 @@
if (disk) {
struct Scsi_Device_Template **p = disk->private_data;
- if (strcmp((*p)->tag, "sg") == 0)
+ if (strcmp((*p)->scsi_driverfs_driver.name, "sg") == 0)
return test_bit(IDESCSI_SG_TRANSFORM, &scsi->transform);
}
return test_bit(IDESCSI_TRANSFORM, &scsi->transform);
prev parent reply other threads:[~2002-12-02 17:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-27 7:11 [PATCH] scsi sysfs update 3 Mike Anderson
2002-11-28 19:17 ` James Bottomley
2002-12-02 17:02 ` Mike Anderson [this message]
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=20021202170228.GA1363@beaverton.ibm.com \
--to=andmike@us.ibm.com \
--cc=James.Bottomley@steeleye.com \
--cc=dougg@torque.net \
--cc=hch@infradead.org \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox