From 9e424252a35879f121e7ea4531a9ab3dda56d595 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Mon, 18 Jul 2011 16:42:51 +0200 Subject: IRQ acknowledgement support in the engine API --- irq.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'irq.c') 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); -- cgit v1.2.3