From: wentasah Date: Wed, 1 Sep 2004 13:34:01 +0000 (+0000) Subject: VME interrupts should be reenabled in VME driver, not here. X-Git-Tag: CLT_COMM_CAN-post_update-040903~2 X-Git-Url: http://rtime.felk.cvut.cz/gitweb/lincan.git/commitdiff_plain/aadab734e26bcb93ac032e62b9c6245bb2bdc30f VME interrupts should be reenabled in VME driver, not here. --- 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());