Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 27108
b: refs/heads/master
c: 67f672f
h: refs/heads/master
v: v3
  • Loading branch information
Rune Torgersen authored and Linus Torvalds committed Jun 5, 2006
1 parent 81c72fa commit 99e45c2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 829a1985e732698ee98def146410e6e9f532781f
refs/heads/master: 67f672f61bb75e74805046e4a301f4923b0ef753
6 changes: 3 additions & 3 deletions trunk/drivers/scsi/sata_sil24.c
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ static int sil24_softreset(struct ata_port *ap, int verbose,
*/
msleep(10);

prb->ctrl = PRB_CTRL_SRST;
prb->ctrl = cpu_to_le16(PRB_CTRL_SRST);
prb->fis[1] = 0; /* no PM yet */

writel((u32)paddr, port + PORT_CMD_ACTIVATE);
Expand Down Expand Up @@ -551,9 +551,9 @@ static void sil24_qc_prep(struct ata_queued_cmd *qc)

if (qc->tf.protocol != ATA_PROT_ATAPI_NODATA) {
if (qc->tf.flags & ATA_TFLAG_WRITE)
prb->ctrl = PRB_CTRL_PACKET_WRITE;
prb->ctrl = cpu_to_le16(PRB_CTRL_PACKET_WRITE);
else
prb->ctrl = PRB_CTRL_PACKET_READ;
prb->ctrl = cpu_to_le16(PRB_CTRL_PACKET_READ);
} else
prb->ctrl = 0;

Expand Down

0 comments on commit 99e45c2

Please sign in to comment.