From: Alvaro Lopes <alvieboy-JkNoWtNHh5AAvxtiuMwx3w@public.gmane.org>
To: Ducrot Bruno <ducrot-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: Re: ACPI PCI bus mismatch ?
Date: Mon, 10 Feb 2003 18:13:03 +0000 [thread overview]
Message-ID: <3E47EBAF.1040103@alvie.com> (raw)
In-Reply-To: <20030210161754.GI25625-j6u/t2rXLliUoIHC/UFpr9i2O/JbrIOy@public.gmane.org>
Ducrot Bruno wrote:
>Hi!
>
>On Thu, Feb 06, 2003 at 12:39:43PM -0800, Grover, Andrew wrote:
>
>
>>>From: Alvaro Lopes [mailto:alvieboy-JkNoWtNHh5AAvxtiuMwx3w@public.gmane.org]
>>>OK, I tracked the problem down to acpi_os_derive_pci_id(). If
>>>I remove
>>>the call to acpi_os_derive_pci_id() in
>>>acpi_ev_pci_config_region_setup()
>>>it works fine.
>>>
>>>Will do some tests on 2.5.x now and let you know.
>>>
>>>
>>Grrreat.
>>
>>We stuck that code in because some IA64 systems needed it to work.
>>
>>Sounds like we need to re-think all this. A hack for right now might be
>>to only call derive on IA64 boxes.
>>
>>
>
>
>It is KO for me.
>
>I sticked:
>printk(KERN_DEBUG "BEFORE: 0x%x 0x%x 0x%x 0x%x\n", pci_id->segment, pci_id->bus,
> pci_id->device, pci_id->function);
>acpi_os_derive_pci_id(...);
>printk(KERN_DEBUG "AFTER: 0x%x 0x%x 0x%x 0x%x\n", pci_id->segment, pci_id->bus,
> pci_id->device, pci_id->function);
>
>in drivers/acpi/events/evrgnini.c::ev_pci_config_region_setup()
>
>and it show me that pci_id->bus is *always* 0 at BEFORE, and will be
>correct in AFTER (tested by creating 2 OPs, in fact).
>
>
Perhaps a stupid question, but:
If we are reading the busID for the brigde itself, shouldn't we use the
"Primary bus number" @ 0x18, instead of "Secondary bus number" @ 0x19 ?
Álvaro
--
Álvaro Lopes
---------------------
A .sig is just a .sig
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
next prev parent reply other threads:[~2003-02-10 18:13 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-06 20:39 Re: ACPI PCI bus mismatch ? Grover, Andrew
[not found] ` <F760B14C9561B941B89469F59BA3A84713802A-sBd4vmA9Se4Lll3ZsUKC9FDQ4js95KgL@public.gmane.org>
2003-02-07 11:20 ` Alvaro Lopes
2003-02-10 16:17 ` Ducrot Bruno
[not found] ` <20030210161754.GI25625-j6u/t2rXLliUoIHC/UFpr9i2O/JbrIOy@public.gmane.org>
2003-02-10 18:13 ` Alvaro Lopes [this message]
[not found] ` <3E47EBAF.1040103-JkNoWtNHh5AAvxtiuMwx3w@public.gmane.org>
2003-02-11 17:55 ` Ducrot Bruno
[not found] ` <20030211175512.GO25625-j6u/t2rXLliUoIHC/UFpr9i2O/JbrIOy@public.gmane.org>
2003-02-11 19:29 ` Ducrot Bruno
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=3E47EBAF.1040103@alvie.com \
--to=alvieboy-jknowtnhh5aavxtiumwx3w@public.gmane.org \
--cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
--cc=ducrot-kk6yZipjEM5g9hUCZPvPmw@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