diff options
author | Mark Lord <liml@rtr.ca> | 2008-01-26 18:31:00 -0500 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2008-02-01 11:29:46 -0500 |
commit | f630d562829fcd8160a118f98c1e5b9cdb4e703e (patch) | |
tree | 159b2d05211693fddfd98e1c5c6fb55dfc2d8470 /drivers/ata | |
parent | 646a4da514f2555298481cb00dc5b3eb02b21b72 (diff) |
sata_mv ncq Rename base to port mmio
Use naming consistent with elsewhere in this driver.
This will keep things less confusing when we later add "hc_mmio" in this function.
Signed-off-by: Mark Lord <mlord@pobox.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata')
-rw-r--r-- | drivers/ata/sata_mv.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/ata/sata_mv.c b/drivers/ata/sata_mv.c index 576e0cc19e25..298f17d6e12c 100644 --- a/drivers/ata/sata_mv.c +++ b/drivers/ata/sata_mv.c | |||
@@ -834,19 +834,19 @@ static void mv_set_edma_ptrs(void __iomem *port_mmio, | |||
834 | * LOCKING: | 834 | * LOCKING: |
835 | * Inherited from caller. | 835 | * Inherited from caller. |
836 | */ | 836 | */ |
837 | static void mv_start_dma(void __iomem *base, struct mv_host_priv *hpriv, | 837 | static void mv_start_dma(void __iomem *port_mmio, struct mv_host_priv *hpriv, |
838 | struct mv_port_priv *pp) | 838 | struct mv_port_priv *pp) |
839 | { | 839 | { |
840 | if (!(pp->pp_flags & MV_PP_FLAG_EDMA_EN)) { | 840 | if (!(pp->pp_flags & MV_PP_FLAG_EDMA_EN)) { |
841 | /* clear EDMA event indicators, if any */ | 841 | /* clear EDMA event indicators, if any */ |
842 | writelfl(0, base + EDMA_ERR_IRQ_CAUSE_OFS); | 842 | writelfl(0, port_mmio + EDMA_ERR_IRQ_CAUSE_OFS); |
843 | 843 | ||
844 | mv_set_edma_ptrs(base, hpriv, pp); | 844 | mv_set_edma_ptrs(port_mmio, hpriv, pp); |
845 | 845 | ||
846 | writelfl(EDMA_EN, base + EDMA_CMD_OFS); | 846 | writelfl(EDMA_EN, port_mmio + EDMA_CMD_OFS); |
847 | pp->pp_flags |= MV_PP_FLAG_EDMA_EN; | 847 | pp->pp_flags |= MV_PP_FLAG_EDMA_EN; |
848 | } | 848 | } |
849 | WARN_ON(!(EDMA_EN & readl(base + EDMA_CMD_OFS))); | 849 | WARN_ON(!(EDMA_EN & readl(port_mmio + EDMA_CMD_OFS))); |
850 | } | 850 | } |
851 | 851 | ||
852 | /** | 852 | /** |