diff options
author | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2012-11-12 19:11:38 +0100 |
---|---|---|
committer | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2012-11-12 19:11:38 +0100 |
commit | 67cd67b13eeefb8b89fc7448f8dad176897c8f7b (patch) | |
tree | 103e44e7dad976d4829e40a4a4a6494aa995e9a8 /cli.c | |
parent | 273c238f85be99e7ac01a05cfdd6d3176ed0e7ad (diff) | |
download | ipecamera-67cd67b13eeefb8b89fc7448f8dad176897c8f7b.tar.gz ipecamera-67cd67b13eeefb8b89fc7448f8dad176897c8f7b.tar.bz2 ipecamera-67cd67b13eeefb8b89fc7448f8dad176897c8f7b.tar.xz ipecamera-67cd67b13eeefb8b89fc7448f8dad176897c8f7b.zip |
Allow IRQs without DMA engine
Diffstat (limited to 'cli.c')
-rw-r--r-- | cli.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -2241,7 +2241,10 @@ int WaitIRQ(pcilib_t *handle, pcilib_model_description_t *model_info, pcilib_irq size_t count; err = pcilib_enable_irq(handle, PCILIB_EVENT_IRQ, 0); - if (err) Error("Error enabling IRQs"); + if (err) { + if ((err != PCILIB_ERROR_NOTSUPPORTED)&&(err != PCILIB_ERROR_NOTAVAILABLE)) + Error("Error enabling IRQs"); + } err = pcilib_wait_irq(handle, irq_source, timeout, &count); if (err) { |