2008-02-08 12:57 AM
2008-02-08 12:57 AM
Hi all,
I'm developing a driver on uCLinux and need to handle the interrupt of UART1. The code is: request_irq(IRQ_UART_1, my_service_routine, 0 | SA_INTERRUPT | SA_SHIRQ, ''myname'', (void *)&my_fops); However, I get a -EBUSY error. When I take a look to /proc/interrupts i get the following output. cat /proc/interrupts 4: 11102 timer 9: 549 STR710_UART 10: 0 STR710_UART 11: 0 STR710_UART Err: 0 That makes me think that the system owns the interrupts 9 to 11 (corresponging to UART0, UART1 and UART2) at boot time. The question is: how can I handle interrupt 10 (UART1)? Otherwise, how can I avoid the system to hang interrupts 10 and 11? TIA