| To: | Ralf Baechle <ralf@linux-mips.org> |
|---|---|
| Subject: | Re: [PATCH] serial: fix au1xxx UART0 irq setup |
| From: | "Maciej W. Rozycki" <macro@linux-mips.org> |
| Date: | Thu, 25 Oct 2007 15:57:01 +0100 (BST) |
| Cc: | Jan Nikitenko <jan.nikitenko@gmail.com>, linux-mips@linux-mips.org, linux-serial@vger.kernel.org |
| In-reply-to: | <20071025140940.GC23398@linux-mips.org> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <4720A11E.5060101@gmail.com> <20071025140940.GC23398@linux-mips.org> |
| Sender: | linux-mips-bounce@linux-mips.org |
On Thu, 25 Oct 2007, Ralf Baechle wrote: > That said, irq 0 is imho totally valid (take the good old PIT timer > interrupt of the PC as the classic example) and treating it as an invalid > interrupt number is broken. I would rather -1 stood for the invalid IRQ number -- unlike with 0 chances are nobody will need 4G of interrupt lines or vectors (as applicable) in a single system. We sort of escape the problem with the MIPS processors because the IP0 bit of the Cause register is a software interrupt that is not used by devices, but still some platforms bypass the built-in interrupt "controller" as only a single source is used in the Cause register and want to start the numbering of lines in the external controller from 0. Maciej |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [IDE] Fix build bug, Maciej W. Rozycki |
|---|---|
| Next by Date: | Re: [PATCH] store sign-extend register values for PTRACE_GETREGS, Atsushi Nemoto |
| Previous by Thread: | Re: [PATCH] serial: fix au1xxx UART0 irq setup, Jan Nikitenko |
| Next by Thread: | Re: [PATCH] serial: fix au1xxx UART0 irq setup, Ralf Baechle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |