patch-2.4.23 linux-2.4.23/drivers/scsi/ide-scsi.c
Next file: linux-2.4.23/drivers/scsi/ips.c
Previous file: linux-2.4.23/drivers/scsi/g_NCR5380.c
Back to the patch index
Back to the overall index
-  Lines: 17
-  Date:
2003-11-28 10:26:20.000000000 -0800
-  Orig file: 
linux-2.4.22/drivers/scsi/ide-scsi.c
-  Orig date: 
2003-08-25 04:44:42.000000000 -0700
diff -urN linux-2.4.22/drivers/scsi/ide-scsi.c linux-2.4.23/drivers/scsi/ide-scsi.c
@@ -531,6 +531,8 @@
 	atapi_bcount_t bcount;
 	struct request *rq = pc->rq;
 
+	feature.all = 0;
+
 	/* Set the current packet command */
 	scsi->pc = pc;
 	/* We haven't transferred any data yet */
@@ -539,6 +541,7 @@
 	/* Request to transfer the entire buffer at once */
 	bcount.all = IDE_MIN(pc->request_transfer, 63 * 1024);
 
+
 	if (drive->using_dma && rq->bh) {
 		if (test_bit(PC_WRITING, &pc->flags))
 			feature.b.dma = !HWIF(drive)->ide_dma_write(drive);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)