summaryrefslogtreecommitdiffstats
path: root/irq.c
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@dside.dyndns.org>2011-07-18 16:42:51 +0200
committerSuren A. Chilingaryan <csa@dside.dyndns.org>2011-07-18 16:42:51 +0200
commit9e424252a35879f121e7ea4531a9ab3dda56d595 (patch)
tree2cf3dfeceb67eee989a6cc4b20f639baf68748f8 /irq.c
parente9904116a5b39e47744fb39cc5aad574c8bee03f (diff)
downloadpcitool-9e424252a35879f121e7ea4531a9ab3dda56d595.tar.gz
pcitool-9e424252a35879f121e7ea4531a9ab3dda56d595.tar.bz2
pcitool-9e424252a35879f121e7ea4531a9ab3dda56d595.tar.xz
pcitool-9e424252a35879f121e7ea4531a9ab3dda56d595.zip
IRQ acknowledgement support in the engine API
Diffstat (limited to 'irq.c')
-rw-r--r--irq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/irq.c b/irq.c
index 6b2164c..3d387bb 100644
--- a/irq.c
+++ b/irq.c
@@ -17,7 +17,7 @@
#include "tools.h"
#include "error.h"
-int pcilib_wait_irq(pcilib_t *ctx, pcilib_irq_source_t source, pcilib_timeout_t timeout, size_t *count) {
+int pcilib_wait_irq(pcilib_t *ctx, pcilib_irq_hw_source_t source, pcilib_timeout_t timeout, size_t *count) {
int err;
interrupt_wait_t arg = { 0 };
@@ -40,7 +40,7 @@ int pcilib_wait_irq(pcilib_t *ctx, pcilib_irq_source_t source, pcilib_timeout_t
return 0;
}
-int pcilib_clear_irq(pcilib_t *ctx, pcilib_irq_source_t source) {
+int pcilib_clear_irq(pcilib_t *ctx, pcilib_irq_hw_source_t source) {
int err;
err = ioctl(ctx->handle, PCIDRIVER_IOC_CLEAR_IOQ, source);