From: "Ville Syrjälä" <syrjala-ORSVBvAovxo@public.gmane.org>
To: Kai Germaschewski
<kai-germaschewski-Q3dYeWy5uxSHXe+LvDLADg@public.gmane.org>
Cc: "Grover,
Andrew" <andrew.grover-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>,
acpi-devel-pyega4qmqnRoyOMFzWx49A@public.gmane.org
Subject: Re: ACPI Source patches updated (20021022)
Date: Thu, 24 Oct 2002 20:15:18 +0300 [thread overview]
Message-ID: <20021024201518.A2708@sci.fi> (raw)
In-Reply-To: <Pine.LNX.4.44.0210241017560.6574-100000-+ltLZMaECS1Ps8vDFOCQiqGgjKF21WCF@public.gmane.org>; from kai-germaschewski-Q3dYeWy5uxSHXe+LvDLADg@public.gmane.org on Thu, Oct 24, 2002 at 10:29:04AM -0500
On Thu, Oct 24, 2002 at 10:29:04AM -0500, Kai Germaschewski wrote:
> Well, this patch is obviously not correct, consider the case where the
> loop is executed more than once.
>
> I think it should be
>
> while (!irq && bridge->bus->self) {
> pin = (pin + PCI_SLOT(bridge->devfn)) % 4;
> bridge = bridge->bus->self;
> irq = acpi_pci_irq_lookup(0, bridge->bus->number, PCI_SLOT(bridge->devfn), pin);
> }
Yes I see the logic in that. But I don't know enough about PCI to relly
understand how things work. Over one iteration this does exactly what my
patch did and that's what I care about :) Is it even realistic to expect
that multiple bridges are lined up so that the loop would get executed
more than once?
--
Ville Syrjälä
syrjala-ORSVBvAovxo@public.gmane.org
http://www.sci.fi/~syrjala/
-------------------------------------------------------
This sf.net email is sponsored by: Influence the future
of Java(TM) technology. Join the Java Community
Process(SM) (JCP(SM)) program now.
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0003en
next prev parent reply other threads:[~2002-10-24 17:15 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-23 2:19 ACPI Source patches updated (20021022) Grover, Andrew
[not found] ` <EDC461A30AC4D511ADE10002A5072CAD0236DF60-OU+JdkIUtvd9zuciVAfUoVDQ4js95KgL@public.gmane.org>
2002-10-23 4:51 ` KOCHI, Takayoshi
2002-10-23 8:02 ` Ville Syrjälä
[not found] ` <20021023110222.A14630-ORSVBvAovxo@public.gmane.org>
2002-10-23 14:47 ` Sérgio Monteiro Basto
[not found] ` <1035384462.3db6b68e3ca67-2RFepEojUI03ju2hA3itMQ@public.gmane.org>
2002-10-23 15:15 ` Ville Syrjälä
2002-10-24 15:29 ` Kai Germaschewski
[not found] ` <Pine.LNX.4.44.0210241017560.6574-100000-+ltLZMaECS1Ps8vDFOCQiqGgjKF21WCF@public.gmane.org>
2002-10-24 17:15 ` Ville Syrjälä [this message]
[not found] ` <20021024201518.A2708-ORSVBvAovxo@public.gmane.org>
2002-10-24 17:23 ` Kai Germaschewski
2002-10-24 9:34 ` Toshiba Tecra 9xxx and S1 (was: ACPI Source patches updated (20021022)) Sebastian Zimmermann
-- strict thread matches above, loose matches on Subject: below --
2002-10-23 14:54 ACPI Source patches updated (20021022) Moore, Robert
2002-10-23 17:11 Grover, Andrew
[not found] ` <EDC461A30AC4D511ADE10002A5072CAD0236DF63-OU+JdkIUtvd9zuciVAfUoVDQ4js95KgL@public.gmane.org>
2002-10-23 18:36 ` Ducrot Bruno
[not found] ` <20021023183646.GB5091-j6u/t2rXLliUoIHC/UFpr9i2O/JbrIOy@public.gmane.org>
2002-10-23 18:41 ` Ville Syrjälä
[not found] ` <20021023214159.B21758-ORSVBvAovxo@public.gmane.org>
2002-10-23 19:19 ` Ducrot Bruno
[not found] ` <20021023191929.GC5091-j6u/t2rXLliUoIHC/UFpr9i2O/JbrIOy@public.gmane.org>
2002-10-23 19:26 ` Ville Syrjälä
2002-10-23 17:17 Grover, Andrew
[not found] ` <EDC461A30AC4D511ADE10002A5072CAD0236DF64-OU+JdkIUtvd9zuciVAfUoVDQ4js95KgL@public.gmane.org>
2002-10-23 17:54 ` Ville Syrjälä
[not found] ` <20021023205441.A17325-ORSVBvAovxo@public.gmane.org>
2002-10-23 18:25 ` Ducrot Bruno
[not found] ` <20021023182527.GA5091-j6u/t2rXLliUoIHC/UFpr9i2O/JbrIOy@public.gmane.org>
2002-10-23 18:40 ` Ville Syrjälä
[not found] ` <20021023214046.A21758-ORSVBvAovxo@public.gmane.org>
2002-10-23 19:47 ` Ducrot Bruno
[not found] ` <20021023194751.GD5091-j6u/t2rXLliUoIHC/UFpr9i2O/JbrIOy@public.gmane.org>
2002-10-23 20:03 ` Ville Syrjälä
2002-10-24 10:00 ` Ducrot Bruno
2002-10-23 19:35 Grover, Andrew
2002-10-24 17:04 Lee, Jung-Ik
[not found] ` <72B3FD82E303D611BD0100508BB29735046DFF44-LkGsggTGxVkSgA9wuWY2vVDQ4js95KgL@public.gmane.org>
2002-10-24 18:07 ` Ducrot Bruno
2002-10-24 18:50 Lee, Jung-Ik
2002-10-24 21:30 Grover, Andrew
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=20021024201518.A2708@sci.fi \
--to=syrjala-orsvbvaovxo@public.gmane.org \
--cc=acpi-devel-pyega4qmqnRoyOMFzWx49A@public.gmane.org \
--cc=andrew.grover-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
--cc=kai-germaschewski-Q3dYeWy5uxSHXe+LvDLADg@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.