Skip to contentSkip to conversation

libata atapi work #2.3

PATCH New Jeff Garzik 1 participant 1 message May 16, 2004

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libata atapi work #2.3

attached.

# ChangeSet
# 2004/05/16 18:48:08-04:00 [email protected]
# [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.

#

drivers/scsi/libata-scsi.c +0 -1
diff -Nru a/drivers/scsi/libata-scsi.c b/drivers/scsi/libata-scsi.c
@@ -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;