Forum Discussion
Altera_Forum
Honored Contributor
15 years agoHow to request multiply MSI interrupts?
Hi !!! Developing a network device driver on Arria2 GX (Avalon-ST). Is it possible to set a vector of 8 MSI interrupts , if the design supports only MSI interrupts, not MSI - X? From the...
Altera_Forum
Honored Contributor
14 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; }