From: Norbert Federa <norbert.federa-uHwDyaZCXy1BDgjK7y7TUQ@public.gmane.org>
To: Linus Torvalds <torvalds-3NddpPZAyC0@public.gmane.org>
Cc: Len Brown <len.brown-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>,
acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: Changeset "acpi: disable PCI links at boot again, fix ELCR" -> on-board nic adapter not working
Date: Thu, 23 Jun 2005 09:35:21 +0200 [thread overview]
Message-ID: <42BA6639.9090402@neoware.com> (raw)
In-Reply-To: <Pine.LNX.4.58.0506221245370.2353-gWtpgVMusWVb5UGfqNBoRg@public.gmane.org>
Linus Torvalds wrote:
>
> On Tue, 21 Jun 2005, Norbert Federa wrote:
>
>>The difference basically is:
>>2.6.10-rc2-bk7: ACPI: IRQ9 SCI: Level Trigger.
>>2.6.10-rc2-bk8: ACPI: setting ELCR to 0200 (from 8a20)
>
>
> Ok. The original 8a20 mask is irq's 15, 11, 9, and 5. The new mask starts
> out with irq9 (SCI) set up, and we should set the others to level as we
> discover them (and enable them) as PCI interrupts.
>
> Looking at your irq list:
>
> 0: 54460 XT-PIC timer
> 1: 168 XT-PIC i8042
> 2: 0 XT-PIC cascade
> ** 5: 0 XT-PIC ehci_hcd
> ** 9: 0 XT-PIC acpi
> ** 11: 0 XT-PIC uhci_hcd
> 12: 89 XT-PIC i8042
> 14: 45 XT-PIC ide0
> ** 15: 0 XT-PIC uhci_hcd, uhci_hcd, eth0
>
> all of those other three irq's should definitely have triggered, and you
> should have ended up with exactly the same ELCR setting in the end. Sadly,
> we don't actually print out those changes, but since it's the on-board NIC
> adapter that's not working, I'll ignore the other irq's and just look at
> irq15. However, it would be interesting to know if you've tried the USB
> controllers at all? It sounds like _none_ of those should work either..
>
> The VIA Rhine driver clearly sets up its IRQ and ACPI is happy:
>
> via-rhine.c:v1.10-LK1.2.0-2.6 June-10-2004 Written by Donald Becker
> ACPI: PCI interrupt 0000:00:12.0[A]: no GSI - using IRQ 15
>
> (the USB drivers do the same things), and I think the magic note here is
> the "no GSI".
>
> That, in turn, causes the code to not call "acpi_register_gsi()", and that
> in turn means that it never does the "eisa_set_level_irq()" call either.
>
> I bet this appended one-liner will fix your problem.
>
> Norbert, can you confirm?
>
> Len, ACPI people, any reason not to do this?
>
> Linus
>
> ---
> diff --git a/drivers/acpi/pci_irq.c b/drivers/acpi/pci_irq.c
> --- a/drivers/acpi/pci_irq.c
> +++ b/drivers/acpi/pci_irq.c
> @@ -435,6 +435,7 @@ acpi_pci_irq_enable (
> /* Interrupt Line values above 0xF are forbidden */
> if (dev->irq >= 0 && (dev->irq <= 0xF)) {
> printk(" - using IRQ %d\n", dev->irq);
> + eisa_set_level_irq(dev->irq);
> return_VALUE(0);
> }
> else {
>
Everything confirmed.
I've added the one-liner to 2.6.12 and the on-board nic is working
fine now. Also your assumption wrt the usb-controllers was right.
-- Norbert
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
next prev parent reply other threads:[~2005-06-23 7:35 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <42B7CF33.5090501@neoware.com>
[not found] ` <Pine.LNX.4.58.0506210901230.2268@ppc970.osdl.org>
[not found] ` <42B843F6.7040704@neoware.com>
[not found] ` <42B843F6.7040704-uHwDyaZCXy1BDgjK7y7TUQ@public.gmane.org>
2005-06-22 20:02 ` Changeset "acpi: disable PCI links at boot again, fix ELCR" -> on-board nic adapter not working Linus Torvalds
[not found] ` <Pine.LNX.4.58.0506221245370.2353-gWtpgVMusWVb5UGfqNBoRg@public.gmane.org>
2005-06-22 20:14 ` Linus Torvalds
2005-06-23 7:35 ` Norbert Federa [this message]
[not found] ` <42BA6639.9090402-uHwDyaZCXy1BDgjK7y7TUQ@public.gmane.org>
2005-06-24 18:01 ` Linus Torvalds
[not found] ` <Pine.LNX.4.58.0506241100290.11175-gWtpgVMusWVb5UGfqNBoRg@public.gmane.org>
2005-06-24 18:31 ` Bjorn Helgaas
[not found] ` <200506241231.55760.bjorn.helgaas-VXdhtT5mjnY@public.gmane.org>
2005-06-24 18:44 ` Linus Torvalds
[not found] ` <Pine.LNX.4.58.0506241143520.11175-gWtpgVMusWVb5UGfqNBoRg@public.gmane.org>
2005-06-25 10:43 ` Norbert Federa
2005-07-02 10:34 ` Alexander Nyberg
[not found] ` <1120300498.1171.3.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2005-07-02 17:33 ` Linus Torvalds
2005-07-21 4:11 Brown, Len
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=42BA6639.9090402@neoware.com \
--to=norbert.federa-uhwdyazcxy1bdgjk7y7tuq@public.gmane.org \
--cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
--cc=len.brown-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
--cc=torvalds-3NddpPZAyC0@public.gmane.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