aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma/ioat/dma_v3.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/dma/ioat/dma_v3.c')
-rw-r--r--drivers/dma/ioat/dma_v3.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/dma/ioat/dma_v3.c b/drivers/dma/ioat/dma_v3.c
index d845dc4b710..f519c93a61e 100644
--- a/drivers/dma/ioat/dma_v3.c
+++ b/drivers/dma/ioat/dma_v3.c
@@ -73,10 +73,10 @@
73/* provide a lookup table for setting the source address in the base or 73/* provide a lookup table for setting the source address in the base or
74 * extended descriptor of an xor or pq descriptor 74 * extended descriptor of an xor or pq descriptor
75 */ 75 */
76static const u8 xor_idx_to_desc __read_mostly = 0xd0; 76static const u8 xor_idx_to_desc = 0xe0;
77static const u8 xor_idx_to_field[] __read_mostly = { 1, 4, 5, 6, 7, 0, 1, 2 }; 77static const u8 xor_idx_to_field[] = { 1, 4, 5, 6, 7, 0, 1, 2 };
78static const u8 pq_idx_to_desc __read_mostly = 0xf8; 78static const u8 pq_idx_to_desc = 0xf8;
79static const u8 pq_idx_to_field[] __read_mostly = { 1, 4, 5, 0, 1, 2, 4, 5 }; 79static const u8 pq_idx_to_field[] = { 1, 4, 5, 0, 1, 2, 4, 5 };
80 80
81static dma_addr_t xor_get_src(struct ioat_raw_descriptor *descs[2], int idx) 81static dma_addr_t xor_get_src(struct ioat_raw_descriptor *descs[2], int idx)
82{ 82{