Forum Discussion
Altera_Forum
Honored Contributor
13 years agoYes.
If you have a single MSI vector, you have to register 1 interrupt line. If you want to test CAN, UART interrupts, than write your kernel module. Request irq for CAN, than for UART, with interrupt handlers. For ex: static irqreturn_t can_isr ( int irq, void *dev ) { void testCAN(); printk(KERN_DEBUG " CAN received irq = %d \n", irq); return IRQ_HANDLED; } static irqreturn_t uart_isr ( int irq, void *dev ) { void testUART(); printk(KERN_DEBUG " UART received irq = %d \n", irq); return IRQ_HANDLED; }