* [PATCH] scsi sysfs update 3
@ 2002-11-27 7:11 Mike Anderson
2002-11-28 19:17 ` James Bottomley
0 siblings, 1 reply; 3+ messages in thread
From: Mike Anderson @ 2002-11-27 7:11 UTC (permalink / raw)
To: linux-scsi; +Cc: wrlk
[-- Attachment #1: Type: text/plain, Size: 540 bytes --]
I have attached an updated combined patch of my previously posted sysfs
changes.
This patch is against linux-scsi.bkbits.net/scsi-misc-2.5
This patch contains these updates:
- update to osst.c to support sysfs cleanups.
- oops fix in osst.c detach if no device attached. A better
method than this quick fix is needed.
- removed scsi_bus_hotplug function do to bug and not really
needed now as default gives path data. If needed in future can
be added with better definition.
-andmike
--
Michael Anderson
andmike@us.ibm.com
[-- Attachment #2: 00_scsi-sysfs-core-3.diff.gz --]
[-- Type: application/octet-stream, Size: 6867 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] scsi sysfs update 3
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
0 siblings, 1 reply; 3+ messages in thread
From: James Bottomley @ 2002-11-28 19:17 UTC (permalink / raw)
To: Mike Anderson; +Cc: linux-scsi
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] scsi sysfs update 3
2002-11-28 19:17 ` James Bottomley
@ 2002-12-02 17:02 ` Mike Anderson
0 siblings, 0 replies; 3+ messages in thread
From: Mike Anderson @ 2002-12-02 17:02 UTC (permalink / raw)
To: James Bottomley; +Cc: linux-scsi, hch, dougg
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);
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-12-02 17:02 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox