Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 21903
b: refs/heads/master
c: 4b10e55
h: refs/heads/master
i:
  21901: 3d3b47c
  21899: 27b3096
  21895: fbfd23d
  21887: fafa134
v: v3
  • Loading branch information
Tejun Heo authored and Jeff Garzik committed Mar 12, 2006
1 parent 77a07ac commit eef31d6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 418dc1f5a805822fcf1118804ddc689a4156db4a
refs/heads/master: 4b10e559277de490bf5c257a1e3264a2bf51404b
3 changes: 2 additions & 1 deletion trunk/drivers/scsi/ahci.c
Original file line number Diff line number Diff line change
Expand Up @@ -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),

Expand Down Expand Up @@ -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);
}
Expand Down

0 comments on commit eef31d6

Please sign in to comment.