aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma/ioat/dma_v2.c
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2009-09-08 20:42:58 -0400
committerDan Williams <dan.j.williams@intel.com>2009-09-08 20:42:58 -0400
commit9de6fc717bdc574cf5faf9d46ce0f9d6265c7952 (patch)
tree55cb18ecfae85033d61f730b5f32d2ac1fb572bc /drivers/dma/ioat/dma_v2.c
parentb094ad3be564e7cc59cca4ff0256550d3a55dd3b (diff)
ioat3: xor self test
This adds a hardware specific self test to be called from ioat_probe. In the ioat3 case we will have tests for all the different raid operations, while ioat1 and ioat2 will continue to just test memcpy. Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/dma/ioat/dma_v2.c')
-rw-r--r--drivers/dma/ioat/dma_v2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dma/ioat/dma_v2.c b/drivers/dma/ioat/dma_v2.c
index ee295d48ba2c..12c64e1a7e31 100644
--- a/drivers/dma/ioat/dma_v2.c
+++ b/drivers/dma/ioat/dma_v2.c
@@ -836,6 +836,7 @@ int __devinit ioat2_dma_probe(struct ioatdma_device *device, int dca)
836 device->enumerate_channels = ioat2_enumerate_channels; 836 device->enumerate_channels = ioat2_enumerate_channels;
837 device->cleanup_tasklet = ioat2_cleanup_tasklet; 837 device->cleanup_tasklet = ioat2_cleanup_tasklet;
838 device->timer_fn = ioat2_timer_event; 838 device->timer_fn = ioat2_timer_event;
839 device->self_test = ioat_dma_self_test;
839 dma = &device->common; 840 dma = &device->common;
840 dma->device_prep_dma_memcpy = ioat2_dma_prep_memcpy_lock; 841 dma->device_prep_dma_memcpy = ioat2_dma_prep_memcpy_lock;
841 dma->device_issue_pending = ioat2_issue_pending; 842 dma->device_issue_pending = ioat2_issue_pending;