Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1256540
| Path | csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | vinayak.kale@gmail.com |
| Newsgroups | linux.kernel |
| Subject | [PATCH] libata: enable LBA flag in taskfile for ata_scsi_pass_thru() |
| Date | Tue, 27 Oct 2015 08:50:02 +0100 |
| Message-ID | <qo7b4-2rZ-21@gated-at.bofh.it> (permalink) |
| X-Original-To | tj@kernel.org, linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org |
| Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=OUsmiK/xspUdDQ+KbWGarJ//EPhSZfefmNlRhEpkWnY=; b=KcYMJbZSUuB52cOEvVaTRgQVUm2LIRXUyfvO+H7yduyI3L7NIQzaLeU8S1i257xdNq DpQovpBN/qvUr4NBlXZXUaTMa0lFAOagRKS34QqxomcNbVIZYfiENPrQxMHsXZfAfDBw lMyWn1aocRBt7eCLmCZqpasQzukT7eAzusiYjPl5MoiPSuRj2Pu9GxbzvniEwBs1uYbm We84Az7TgUaMpzyBMjbM3R0SjyfDxqKqvOrTWC45I6F0RjNs1blp1Xxh/Spfej1tmGIa xsMPN27zP1LSOTVodWY7UcQTNBDzrc2XINRYpR8+GzK8ZeA6gyCFMVzECNGZO9rpranj 1A+w== |
| X-Received | by 10.181.13.1 with SMTP id eu1mr24510980wid.6.1445931732363; Tue, 27 Oct 2015 00:42:12 -0700 (PDT) |
| X-Google-Original-From | vinayak.kale@seagate.com |
| X-Mailer | git-send-email 2.6.1.windows.1 |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 31 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | sumit.g.gupta@seagate.com, Vinayak Kale <vinayak.kale@seagate.com> |
| X-Original-Date | Tue, 27 Oct 2015 13:11:46 +0530 |
| X-Original-Message-ID | <1445931706-9436-1-git-send-email-vinayak.kale@seagate.com> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1256540 |
Show key headers only | View raw
From: Vinayak Kale <vinayak.kale@seagate.com> Enable LBA in taskfile flags for ata_scsi_pass_thru() Signed-off-by: Vinayak Kale <vinayak.kale@seagate.com> --- drivers/ata/libata-scsi.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/ata/libata-scsi.c b/drivers/ata/libata-scsi.c index c2af592..ff75cb6 100644 --- a/drivers/ata/libata-scsi.c +++ b/drivers/ata/libata-scsi.c @@ -2949,6 +2949,9 @@ static unsigned int ata_scsi_pass_thru(struct ata_queued_cmd *qc) if ((tf->protocol = ata_scsi_map_proto(cdb[1])) == ATA_PROT_UNKNOWN) goto invalid_fld; + /* enable LBA */ + tf->flags |= ATA_TFLAG_LBA; + /* * 12 and 16 byte CDBs use different offsets to * provide the various register values. -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
[PATCH] libata: enable LBA flag in taskfile for ata_scsi_pass_thru() vinayak.kale@gmail.com - 2015-10-27 08:50 +0100
csiph-web