Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 82043
b: refs/heads/master
c: f630d56
h: refs/heads/master
i:
  82041: 6b1dafd
  82039: 7e21eca
v: v3
  • Loading branch information
Mark Lord authored and Jeff Garzik committed Feb 1, 2008
1 parent f4df6e3 commit c315bea
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 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: 646a4da514f2555298481cb00dc5b3eb02b21b72
refs/heads/master: f630d562829fcd8160a118f98c1e5b9cdb4e703e
10 changes: 5 additions & 5 deletions trunk/drivers/ata/sata_mv.c
Original file line number Diff line number Diff line change
Expand Up @@ -834,19 +834,19 @@ static void mv_set_edma_ptrs(void __iomem *port_mmio,
* LOCKING:
* Inherited from caller.
*/
static void mv_start_dma(void __iomem *base, struct mv_host_priv *hpriv,
static void mv_start_dma(void __iomem *port_mmio, struct mv_host_priv *hpriv,
struct mv_port_priv *pp)
{
if (!(pp->pp_flags & MV_PP_FLAG_EDMA_EN)) {
/* clear EDMA event indicators, if any */
writelfl(0, base + EDMA_ERR_IRQ_CAUSE_OFS);
writelfl(0, port_mmio + EDMA_ERR_IRQ_CAUSE_OFS);

mv_set_edma_ptrs(base, hpriv, pp);
mv_set_edma_ptrs(port_mmio, hpriv, pp);

writelfl(EDMA_EN, base + EDMA_CMD_OFS);
writelfl(EDMA_EN, port_mmio + EDMA_CMD_OFS);
pp->pp_flags |= MV_PP_FLAG_EDMA_EN;
}
WARN_ON(!(EDMA_EN & readl(base + EDMA_CMD_OFS)));
WARN_ON(!(EDMA_EN & readl(port_mmio + EDMA_CMD_OFS)));
}

/**
Expand Down

0 comments on commit c315bea

Please sign in to comment.