All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeff Garzik <jgarzik@pobox.com>
To: linux-ide@vger.kernel.org
Subject: [PATCH] libata atapi work #2.3
Date: Sun, 16 May 2004 18:56:43 -0400	[thread overview]
Message-ID: <40A7F1AB.5050500@pobox.com> (raw)

[-- 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;
 

                 reply	other threads:[~2004-05-16 22:56 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=40A7F1AB.5050500@pobox.com \
    --to=jgarzik@pobox.com \
    --cc=linux-ide@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.