All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bjorn Helgaas <bjorn.helgaas-VXdhtT5mjnY@public.gmane.org>
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Cc: Linus Torvalds <torvalds-3NddpPZAyC0@public.gmane.org>,
	Norbert Federa
	<norbert.federa-uHwDyaZCXy1BDgjK7y7TUQ@public.gmane.org>,
	Len Brown <len.brown-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Subject: Re: Re: Changeset "acpi: disable PCI links at boot again, fix ELCR" -> on-board nic adapter not working
Date: Fri, 24 Jun 2005 12:31:55 -0600	[thread overview]
Message-ID: <200506241231.55760.bjorn.helgaas@hp.com> (raw)
In-Reply-To: <Pine.LNX.4.58.0506241100290.11175-gWtpgVMusWVb5UGfqNBoRg@public.gmane.org>

On Friday 24 June 2005 12:01 pm, Linus Torvalds wrote:
> 
> On Thu, 23 Jun 2005, Norbert Federa wrote:
> > 
> > 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.
> 
> Len, acpi-developers, please tell me which one you prefer.

I haven't heard from Len for a while, maybe he's on vacation?

My preference is to use acpi_register_gsi() rather than
calling eisa_set_level_irq() directly.

> 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,12 @@ 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);
> +/* Pick one! */
> +#if 1
> +			acpi_register_gsi(dev->irq, ACPI_LEVEL_SENSITIVE, ACPI_ACTIVE_LOW);
> +#else
> +			eisa_set_level_irq(dev->irq);
> +#endif
>  			return_VALUE(0);
>  		}
>  		else {


-------------------------------------------------------
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

  parent reply	other threads:[~2005-06-24 18:31 UTC|newest]

Thread overview: 9+ 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
     [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 [this message]
     [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

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=200506241231.55760.bjorn.helgaas@hp.com \
    --to=bjorn.helgaas-vxdhtt5mjny@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=len.brown-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    --cc=norbert.federa-uHwDyaZCXy1BDgjK7y7TUQ@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.