X-Git-Url: http://rtime.felk.cvut.cz/gitweb/lincan.git/blobdiff_plain/2f13c6dc170fc5a887dcea791e73e1a695e9055d..3d6c5be34ccd4bf1633c6b7f98e9beedfebc262f:/lincan/src/can_devrtl.c diff --git a/lincan/src/can_devrtl.c b/lincan/src/can_devrtl.c index c570f1b..301c52c 100644 --- a/lincan/src/can_devrtl.c +++ b/lincan/src/can_devrtl.c @@ -134,9 +134,12 @@ void * can_chip_worker_thread(void *arg) but it seems to not work without that */ if(chip->chip_irq>=0) { if ((chip->flags & CHIP_IRQ_VME) == 0) can_enable_irq(chip->chip_irq); + #ifdef CAN_ENABLE_VME_SUPPORT else tundra_rtl_enable_pci_irq(); /* FIXME: Bad practice. Doesn't work with more * than one card. */ + #endif /*CAN_ENABLE_VME_SUPPORT*/ + } RTL_MARK_SUSPENDED(pthread_self());