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 /cli.c | |
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 'cli.c')
-rw-r--r-- | cli.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -906,7 +906,7 @@ int WaitIRQ(pcilib_t *handle, pcilib_model_description_t *model_info, pcilib_irq int err; size_t count; - err = pcilib_enable_irq(handle, 0); + err = pcilib_enable_irq(handle, PCILIB_EVENT_IRQ, 0); if (err) Error("Error enabling IRQs"); err = pcilib_wait_irq(handle, irq_source, timeout, &count); |