diff options
author | Dan Williams <dan.j.williams@intel.com> | 2010-03-03 13:47:42 -0500 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2010-03-03 13:47:42 -0500 |
commit | 773d9e2d8dbf02cfaf65786cf9100eef02c9fda4 (patch) | |
tree | f4cdd84bb7ebd3ae8340f02c3c1e0e641601f88c /drivers | |
parent | 0fb6f739bb612bc989d295056877374b749e721b (diff) |
ioat3: cleanup, don't enable DCA completion writes
We already disallow raid operations while DCA is globally enabled, so
having it locally enabled is a nop and confusing when reading the code.
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/dma/ioat/dma_v3.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/dma/ioat/dma_v3.c b/drivers/dma/ioat/dma_v3.c index 9908c9e94b2d..f270fa11275b 100644 --- a/drivers/dma/ioat/dma_v3.c +++ b/drivers/dma/ioat/dma_v3.c | |||
@@ -334,8 +334,7 @@ static void ioat3_cleanup_tasklet(unsigned long data) | |||
334 | struct ioat2_dma_chan *ioat = (void *) data; | 334 | struct ioat2_dma_chan *ioat = (void *) data; |
335 | 335 | ||
336 | ioat3_cleanup(ioat); | 336 | ioat3_cleanup(ioat); |
337 | writew(IOAT_CHANCTRL_RUN | IOAT3_CHANCTRL_COMPL_DCA_EN, | 337 | writew(IOAT_CHANCTRL_RUN, ioat->base.reg_base + IOAT_CHANCTRL_OFFSET); |
338 | ioat->base.reg_base + IOAT_CHANCTRL_OFFSET); | ||
339 | } | 338 | } |
340 | 339 | ||
341 | static void ioat3_restart_channel(struct ioat2_dma_chan *ioat) | 340 | static void ioat3_restart_channel(struct ioat2_dma_chan *ioat) |