Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 73046
b: refs/heads/master
c: 25ce945
h: refs/heads/master
v: v3
  • Loading branch information
Jeff Garzik committed Nov 3, 2007
1 parent 531cfd6 commit 6f71552
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 2a52e8d4ea86a9143b4c3a1c1ec249a3b8bee74e
refs/heads/master: 25ce945a8e775d1f494447969e6a8fffcebcc352
4 changes: 1 addition & 3 deletions trunk/drivers/ata/sata_fsl.c
Original file line number Diff line number Diff line change
Expand Up @@ -561,16 +561,14 @@ static inline void sata_fsl_cache_taskfile_from_d2h_fis(struct ata_queued_cmd
struct ata_port *ap)
{
struct sata_fsl_port_priv *pp = ap->private_data;
u8 fis[6 * 4];
struct sata_fsl_host_priv *host_priv = ap->host->private_data;
void __iomem *hcr_base = host_priv->hcr_base;
unsigned int tag = sata_fsl_tag(qc->tag, hcr_base);
struct command_desc *cd;

cd = pp->cmdentry + tag;

memcpy(fis, &cd->sfis, 6 * 4); /* should we use memcpy_from_io() */
ata_tf_from_fis(fis, &pp->tf);
ata_tf_from_fis(cd->sfis, &pp->tf);
}

static u8 sata_fsl_check_status(struct ata_port *ap)
Expand Down

0 comments on commit 6f71552

Please sign in to comment.