[PATCH] iop: n2100: enable serial interrupt
aaro.koskinen at iki.fi
Mon Feb 15 13:51:42 EST 2010
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
>> line is connected to the second UHCI controller (position J3) or to
>> the serial port UART (position J4). Currently, the kernel is
>> 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
>> and also marks it as shared (as the driver for the second UHCI
>> 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,
>> 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 220.127.116.11 kernel with this patch. Both jumper
work as expected.
More information about the linux-arm-kernel