From: Linus Torvalds <torvalds@osdl.org>
To: David Woodhouse <dwmw2@infradead.org>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Len Brown <len.brown@intel.com>,
Natalie Protasevich <Natalie.Protasevich@UNISYS.com>
Subject: Re: If ACPI doesn't find an irq listed, don't accept 0 as a valid PCI irq.
Date: Sat, 2 Jul 2005 15:01:26 -0700 (PDT) [thread overview]
Message-ID: <Pine.LNX.4.58.0507021457540.8247@g5.osdl.org> (raw)
In-Reply-To: <1120340186.9275.52.camel@localhost.localdomain>
On Sat, 2 Jul 2005, David Woodhouse wrote:
>
> Zero _is_ a valid IRQ number.
Not for a "legacy irq" it ain't.
If the ACPI layer itself decides to use IRQ0, then that's fine, and that
path hasn't changed at all.
However, if ACPI doesn't find any irq, and ends up just using whatever irq
the device had for some legacy reason, then irq 0 just means "nobody set
an irq".
Besides, we'll actually be returning 0 _anyway_. The only thing my patch
fixes (and it _is_ a fix) is that we won't be stupidly thinking that we
actually have a valid irq, and that we should turn it level-sensitive.
Linus
next prev parent reply other threads:[~2005-07-02 22:07 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200507021908.j62J8m4D009707@hera.kernel.org>
2005-07-02 21:36 ` David Woodhouse
2005-07-02 22:01 ` Linus Torvalds [this message]
2005-07-04 7:28 ` Alexander Nyberg
2005-07-05 21:20 ` [stable] " Chris Wright
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=Pine.LNX.4.58.0507021457540.8247@g5.osdl.org \
--to=torvalds@osdl.org \
--cc=Natalie.Protasevich@UNISYS.com \
--cc=dwmw2@infradead.org \
--cc=len.brown@intel.com \
--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®