lkml.org 
[lkml]   [2003]   [Jun]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: IDE IRQ probe brokenness.
From
Date
On Maw, 2003-06-10 at 09:33, David Woodhouse wrote:
> I have on my desk a machine where all PCI interrupts are routed to
> IRQ 0.
>
> The IDE code doesn't seem very happy with it -- it seems to think that
> hwif->irq == 0 means that no IRQ has been set. It should be using -1 for
> that instead.
>
> This error is in both 2.4 and 2.5.

It isn't clear that -1 is safe either. One thing I would suggest for
your latest weird embedded beastie is that you tweak the IRQ assignment
so IRQ 0 disappears or becomes IRQ 63 or something. IDE does have this
problem, but so does USB and a lot of other code.

Basically we need a "NOT_AN_IRQ" value defined either globally or per
port

Alan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:36    [W:0.033 / U:0.784 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site