async_tx: add support for asynchronous GF multiplication
[linux-2.6.git] / drivers / dma / dmaengine.c
index e002e0e..cd5673d 100644 (file)
@@ -646,6 +646,10 @@ int dma_async_device_register(struct dma_device *device)
                !device->device_prep_dma_xor);
        BUG_ON(dma_has_cap(DMA_XOR_VAL, device->cap_mask) &&
                !device->device_prep_dma_xor_val);
+       BUG_ON(dma_has_cap(DMA_PQ, device->cap_mask) &&
+               !device->device_prep_dma_pq);
+       BUG_ON(dma_has_cap(DMA_PQ_VAL, device->cap_mask) &&
+               !device->device_prep_dma_pq_val);
        BUG_ON(dma_has_cap(DMA_MEMSET, device->cap_mask) &&
                !device->device_prep_dma_memset);
        BUG_ON(dma_has_cap(DMA_INTERRUPT, device->cap_mask) &&