linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] libata atapi work #2.3
@ 2004-05-16 22:56 Jeff Garzik
  0 siblings, 0 replies; only message in thread
From: Jeff Garzik @ 2004-05-16 22:56 UTC (permalink / raw)
  To: linux-ide

[-- Attachment #1: Type: text/plain, Size: 10 bytes --]

attached.

[-- Attachment #2: patch.3 --]
[-- Type: text/plain, Size: 757 bytes --]

# ChangeSet
#   2004/05/16 18:48:08-04:00 jgarzik@redhat.com 
#   [libata] remove redundant use of ATA_QCFLAG_SG in ATAPI packet translation
#   
#   ata_scsi_translate() sets this flag for all ATA->SCSI translated
#   commands, so it need not be done in atapi_xlat().  The now-removed
#   use in atapi_xlat() was also inconsistent WRT PIO versus DMA.
# 
diff -Nru a/drivers/scsi/libata-scsi.c b/drivers/scsi/libata-scsi.c
--- a/drivers/scsi/libata-scsi.c	Sun May 16 18:55:09 2004
+++ b/drivers/scsi/libata-scsi.c	Sun May 16 18:55:09 2004
@@ -924,7 +924,6 @@
 
 	/* DMA data xfer - interrupt-driven */
 	} else {
-		qc->flags |= ATA_QCFLAG_SG; /* data is present; dma-map it */
 		qc->tf.protocol = ATA_PROT_ATAPI_DMA;
 		qc->tf.feature |= ATAPI_PKT_DMA;
 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-05-16 22:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-16 22:56 [PATCH] libata atapi work #2.3 Jeff Garzik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).