Messages in this thread | | | Date | Wed, 8 Oct 2008 11:59:59 +0200 (CEST) | From | Geert Uytterhoeven <> | Subject | Re: [PATCH] pata_of_platform: fix no irq handling |
| |
On Wed, 8 Oct 2008, Alan Cox wrote: > On Wed, 08 Oct 2008 09:40:54 +0100 > David Woodhouse <dwmw2@infradead.org> wrote: > > > On Tue, 2008-10-07 at 10:37 +0100, Alan Cox wrote: > > > Zero means no IRQ. Any platform with bits of code left over exposing IRQ > > > 0 is already not supported by lots of driver code including libata. > > > > ...and must implement some kind of interrupt remapping crap just to work > > around this bogus design decision. > > I'll leave you to argue with Linus about that, but since that was the > decision back in 2005 (for good C reasons) we can safely rely on it.
`git grep NO_IRQ include arch/*/include' is still quite enlightening...
With kind regards,
Geert Uytterhoeven Software Architect
Sony Techsoft Centre Europe The Corporate Village · Da Vincilaan 7-D1 · B-1935 Zaventem · Belgium
Phone: +32 (0)2 700 8453 Fax: +32 (0)2 700 8622 E-mail: Geert.Uytterhoeven@sonycom.com Internet: http://www.sony-europe.com/
A division of Sony Europe (Belgium) N.V. VAT BE 0413.825.160 · RPR Brussels Fortis · BIC GEBABEBB · IBAN BE41293037680010 | |