From 493958c9cf11eaa25251d91e9ecab9a28bd6d68f Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Tue, 12 Jul 2011 14:39:06 +0200 Subject: Provide IRQ enable/disable call --- dma/nwl.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'dma/nwl.h') diff --git a/dma/nwl.h b/dma/nwl.h index 1ee6f5d..4e15418 100644 --- a/dma/nwl.h +++ b/dma/nwl.h @@ -28,9 +28,10 @@ struct nwl_dma_s { pcilib_register_bank_description_t *dma_bank; char *base_addr; - + + int irq_init; /**< indicates that IRQ subsystem is initialized (detecting which types should be preserverd) */ pcilib_irq_type_t irq_enabled; /**< indicates that IRQs are enabled */ - int irq_preserve; /**< indicates that IRQs should not be disabled during clean-up */ + pcilib_irq_type_t irq_preserve; /**< indicates that IRQs should not be disabled during clean-up */ int started; /**< indicates that DMA subsystem is initialized and DMA engine can start */ pcilib_dma_engine_t n_engines; -- cgit v1.2.3