diff options
author | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2011-07-12 14:39:06 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2011-07-12 14:39:06 +0200 |
commit | 493958c9cf11eaa25251d91e9ecab9a28bd6d68f (patch) | |
tree | bdda549da425acc5bdbddb5006b6980ec4233a77 /dma/nwl.h | |
parent | de984f8b9706cfac79f7658e5b3863e78b052458 (diff) | |
download | pcitool-493958c9cf11eaa25251d91e9ecab9a28bd6d68f.tar.gz pcitool-493958c9cf11eaa25251d91e9ecab9a28bd6d68f.tar.bz2 pcitool-493958c9cf11eaa25251d91e9ecab9a28bd6d68f.tar.xz pcitool-493958c9cf11eaa25251d91e9ecab9a28bd6d68f.zip |
Provide IRQ enable/disable call
Diffstat (limited to 'dma/nwl.h')
-rw-r--r-- | dma/nwl.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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; |