patch-2.3.36 linux/drivers/scsi/ide-scsi.c
Next file: linux/drivers/scsi/megaraid.c
Previous file: linux/drivers/scsi/aha1542.c
Back to the patch index
Back to the overall index
- Lines: 12
- Date:
Tue Jan 4 11:17:47 2000
- Orig file:
v2.3.35/linux/drivers/scsi/ide-scsi.c
- Orig date:
Tue Dec 14 01:27:24 1999
diff -u --recursive --new-file v2.3.35/linux/drivers/scsi/ide-scsi.c linux/drivers/scsi/ide-scsi.c
@@ -636,10 +636,9 @@
{
ide_drive_t *drive = idescsi_drives[dev->id];
idescsi_scsi_t *scsi = drive->driver_data;
- int enable = (int) arg;
if (cmd == SG_SET_TRANSFORM) {
- if (enable)
+ if (arg)
set_bit(IDESCSI_SG_TRANSFORM, &scsi->transform);
else
clear_bit(IDESCSI_SG_TRANSFORM, &scsi->transform);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)