Commit 82859727 authored by Mike Anderson's avatar Mike Anderson Committed by Christoph Hellwig

[PATCH] scsi sysfs update 3

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
parent 679ab9a6
......@@ -764,7 +764,7 @@ static inline int should_transform(ide_drive_t *drive, Scsi_Cmnd *cmd)
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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment