patch-2.3.47 linux/drivers/scsi/eata_dma_proc.c
Next file: linux/drivers/scsi/esp.c
Previous file: linux/drivers/scsi/constants.c
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
Fri Feb 18 15:07:20 2000
- Orig file:
v2.3.46/linux/drivers/scsi/eata_dma_proc.c
- Orig date:
Fri Jan 28 15:09:08 2000
diff -u --recursive --new-file v2.3.46/linux/drivers/scsi/eata_dma_proc.c linux/drivers/scsi/eata_dma_proc.c
@@ -167,6 +167,7 @@
cmnd[9] = 0;
scmd->cmd_len = 10;
+ scmd->sc_data_direction = DATA_READ;
/*
* Do the command and wait for it to finish.
@@ -291,6 +292,7 @@
cmnd[9] = 0;
scmd->cmd_len = 10;
+ scmd->sc_data_direction = SCSI_DATA_READ;
/*
* Do the command and wait for it to finish.
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)