From eef31d6924bc3f519248d17bf9cee9f21b859c2a Mon Sep 17 00:00:00 2001 From: Tejun Heo Date: Sun, 12 Mar 2006 11:25:27 +0900 Subject: [PATCH] --- yaml --- r: 21903 b: refs/heads/master c: 4b10e559277de490bf5c257a1e3264a2bf51404b h: refs/heads/master i: 21901: 3d3b47cdeb834ed0f3350b0b255b4009738348c3 21899: 27b3096a0426ccf6c2e8731ed1c45b97e57cbc8f 21895: fbfd23dc64d4f62e94a53bb97070ed981f67c57e 21887: fafa13477b61dd12ed8b8ccf03e99a940ee6fde9 v: v3 --- [refs] | 2 +- trunk/drivers/scsi/ahci.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index a9085a343a02..369bd86155ea 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 418dc1f5a805822fcf1118804ddc689a4156db4a +refs/heads/master: 4b10e559277de490bf5c257a1e3264a2bf51404b diff --git a/trunk/drivers/scsi/ahci.c b/trunk/drivers/scsi/ahci.c index 00dfdefe2967..e97ab3e6de4d 100644 --- a/trunk/drivers/scsi/ahci.c +++ b/trunk/drivers/scsi/ahci.c @@ -66,6 +66,7 @@ enum { AHCI_IRQ_ON_SG = (1 << 31), AHCI_CMD_ATAPI = (1 << 5), AHCI_CMD_WRITE = (1 << 6), + AHCI_CMD_PREFETCH = (1 << 7), AHCI_CMD_RESET = (1 << 8), AHCI_CMD_CLR_BUSY = (1 << 10), @@ -631,7 +632,7 @@ static void ahci_qc_prep(struct ata_queued_cmd *qc) if (qc->tf.flags & ATA_TFLAG_WRITE) opts |= AHCI_CMD_WRITE; if (is_atapi) - opts |= AHCI_CMD_ATAPI; + opts |= AHCI_CMD_ATAPI | AHCI_CMD_PREFETCH; ahci_fill_cmd_slot(pp, opts); }