[PATCH] iop: n2100: enable serial interrupt

Aaro Koskinen aaro.koskinen at iki.fi
Mon Feb 15 13:51:42 EST 2010


Hi,

On 14.2.2010, at 23.54, Lennert Buytenhek wrote:
> On Sun, Feb 14, 2010 at 11:53:25PM +0200, Aaro Koskinen wrote:
>
>> Thecus N2100 has a jumper (J3/J4) to select whether the XINT1  
>> interrupt
>> line is connected to the second UHCI controller (position J3) or to
>> the serial port UART (position J4). Currently, the kernel is  
>> hardcoded
>> to assume the J3 position, and the serial port is always being  
>> used in
>> polling mode.
>>
>> The patch adds the IRQ autodetection flag for the serial port  
>> interrupt,
>> and also marks it as shared (as the driver for the second UHCI  
>> controller
>> will request the interrupt in any case). Now, when the jumper is  
>> set to
>> the J4 position, the serial port will have an interrupt line,  
>> resulting
>> in less CPU overhead and faster throughput.
>>
>> Signed-off-by: Aaro Koskinen <aaro.koskinen at iki.fi>
>
> Assuming that you've found this to actually work:
>
> Acked-by: Lennert Buytenhek <buytenh at wantstofly.org>


Yes, it works, I'm using 2.6.32.8 kernel with this patch. Both jumper  
positions
work as expected.

A.




More information about the linux-arm-kernel mailing list