From aadab734e26bcb93ac032e62b9c6245bb2bdc30f Mon Sep 17 00:00:00 2001 From: wentasah Date: Wed, 1 Sep 2004 13:34:01 +0000 Subject: [PATCH] VME interrupts should be reenabled in VME driver, not here. --- lincan/src/can_devrtl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lincan/src/can_devrtl.c b/lincan/src/can_devrtl.c index 5db8b82..69a2e0f 100644 --- a/lincan/src/can_devrtl.c +++ b/lincan/src/can_devrtl.c @@ -132,7 +132,7 @@ void * can_chip_worker_thread(void *arg) /*re-enable chip IRQ, I am not sure, if this is required, but it seems to not work without that */ - if(chip->chip_irq>=0) + if(chip->chip_irq>=0 && (chip->flags & CHIP_IRQ_VME) == 0) can_enable_irq(chip->chip_irq); RTL_MARK_SUSPENDED(pthread_self()); -- 2.39.2