diff options
-rw-r--r-- | drivers/dma/mv_xor.c | 2 | ||||
-rw-r--r-- | drivers/dma/mv_xor.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/drivers/dma/mv_xor.c b/drivers/dma/mv_xor.c index f450fe8cbd61..2c69b89eac4f 100644 --- a/drivers/dma/mv_xor.c +++ b/drivers/dma/mv_xor.c | |||
@@ -1240,6 +1240,8 @@ mv_xor_conf_mbus_windows(struct mv_xor_device *xordev, | |||
1240 | 1240 | ||
1241 | writel(win_enable, base + WINDOW_BAR_ENABLE(0)); | 1241 | writel(win_enable, base + WINDOW_BAR_ENABLE(0)); |
1242 | writel(win_enable, base + WINDOW_BAR_ENABLE(1)); | 1242 | writel(win_enable, base + WINDOW_BAR_ENABLE(1)); |
1243 | writel(0, base + WINDOW_OVERRIDE_CTRL(0)); | ||
1244 | writel(0, base + WINDOW_OVERRIDE_CTRL(1)); | ||
1243 | } | 1245 | } |
1244 | 1246 | ||
1245 | static int __devinit mv_xor_probe(struct platform_device *pdev) | 1247 | static int __devinit mv_xor_probe(struct platform_device *pdev) |
diff --git a/drivers/dma/mv_xor.h b/drivers/dma/mv_xor.h index 17043287b71a..c632a4761fcf 100644 --- a/drivers/dma/mv_xor.h +++ b/drivers/dma/mv_xor.h | |||
@@ -53,6 +53,7 @@ | |||
53 | #define WINDOW_SIZE(w) (0x270 + ((w) << 2)) | 53 | #define WINDOW_SIZE(w) (0x270 + ((w) << 2)) |
54 | #define WINDOW_REMAP_HIGH(w) (0x290 + ((w) << 2)) | 54 | #define WINDOW_REMAP_HIGH(w) (0x290 + ((w) << 2)) |
55 | #define WINDOW_BAR_ENABLE(chan) (0x240 + ((chan) << 2)) | 55 | #define WINDOW_BAR_ENABLE(chan) (0x240 + ((chan) << 2)) |
56 | #define WINDOW_OVERRIDE_CTRL(chan) (0x2A0 + ((chan) << 2)) | ||
56 | 57 | ||
57 | struct mv_xor_device { | 58 | struct mv_xor_device { |
58 | void __iomem *xor_base; | 59 | void __iomem *xor_base; |