cancel
Showing results for 
Search instead for 
Did you mean: 

UART1 interrupt on uCLinux

avelez
Associate II
Posted on February 08, 2008 at 09:57

UART1 interrupt on uCLinux

1 REPLY 1
avelez
Associate II
Posted on February 08, 2008 at 09:57

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