[PATCH] serial: Use real irq on UART0 (IRQ = 0) on PPC4xx systems

Alan alan at lxorguk.ukuu.org.uk
Mon Nov 20 22:42:48 EST 2006


On Mon, 20 Nov 2006 12:00:36 +0100
Stefan Roese <ml at stefan-roese.de> wrote:

> This patch fixes a problem seen on multiple 4xx platforms, where
> the UART0 interrupt number is 0. The macro "is_real_interrupt" lead
> on those systems to not use an real interrupt but the timer based
> implementation.

NAK.

Zero means "no interrupt" in the Linux space. If you have a physical IRQ
0 remap it to a convenient number (eg map IRQ's + 1, or stick it on the
end). The logical and physical IRQ numbering in Linux don't have to match
up - and given some platforms have IRQ numbering per bus and the like
clearly doesn't in many cases.



More information about the Linuxppc-embedded mailing list