patch-2.3.50 linux/drivers/scsi/sr.c
Next file: linux/drivers/sound/Config.in
Previous file: linux/drivers/scsi/sg.c
Back to the patch index
Back to the overall index
- Lines: 13
- Date:
Fri Mar 3 12:59:50 2000
- Orig file:
v2.3.49/linux/drivers/scsi/sr.c
- Orig date:
Sun Feb 20 21:12:39 2000
diff -u --recursive --new-file v2.3.49/linux/drivers/scsi/sr.c linux/drivers/scsi/sr.c
@@ -666,11 +666,7 @@
/* scsi_wait_cmd sets the command length */
SRpnt->sr_cmd_len = 0;
- /*
- * FIXME(eric) - need to set the data direction here.
- */
- SRpnt->sr_data_direction = SCSI_DATA_UNKNOWN;
-
+ SRpnt->sr_data_direction = cgc->data_direction;
scsi_wait_req(SRpnt, (void *) cgc->cmd, (void *) buffer, cgc->buflen,
SR_TIMEOUT, MAX_RETRIES);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)