From 67cd67b13eeefb8b89fc7448f8dad176897c8f7b Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Mon, 12 Nov 2012 19:11:38 +0100 Subject: Allow IRQs without DMA engine --- dma.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dma.c') diff --git a/dma.c b/dma.c index 19ac5ab..c65bad6 100644 --- a/dma.c +++ b/dma.c @@ -100,12 +100,12 @@ int pcilib_stop_dma(pcilib_t *ctx, pcilib_dma_engine_t dma, pcilib_dma_flags_t f int pcilib_enable_irq(pcilib_t *ctx, pcilib_irq_type_t irq_type, pcilib_dma_flags_t flags) { const pcilib_dma_info_t *info = pcilib_get_dma_info(ctx); if (!info) { - pcilib_error("DMA is not supported by the device"); + //pcilib_error("DMA is not supported by the device"); return PCILIB_ERROR_NOTSUPPORTED; } if (!ctx->model_info.dma_api) { - pcilib_error("DMA Engine is not configured in the current model"); + //pcilib_error("DMA Engine is not configured in the current model"); return PCILIB_ERROR_NOTAVAILABLE; } -- cgit v1.2.3