From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: David Woodhouse <dwmw2@infradead.org>
Cc: Bartlomiej Zolnierkiewicz <B.Zolnierkiewicz@elka.pw.edu.pl>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: IDE IRQ probe brokenness.
Date: 10 Jun 2003 17:42:41 +0100 [thread overview]
Message-ID: <1055263361.32661.10.camel@dhcp22.swansea.linux.org.uk> (raw)
In-Reply-To: <1055233984.29633.56.camel@passion.cambridge.redhat.com>
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
next prev parent reply other threads:[~2003-06-10 16:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-10 8:33 David Woodhouse
2003-06-10 16:42 ` Alan Cox [this message]
2003-06-10 18:37 ` Russell King
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1055263361.32661.10.camel@dhcp22.swansea.linux.org.uk \
--to=alan@lxorguk.ukuu.org.uk \
--cc=B.Zolnierkiewicz@elka.pw.edu.pl \
--cc=dwmw2@infradead.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®