All of lore.kernel.org
 help / color / mirror / Atom feed
* Abit KT7 IRQ routing
@ 2002-10-06 22:48 Ville Syrjälä
  0 siblings, 0 replies; only message in thread
From: Ville Syrjälä @ 2002-10-06 22:48 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

As I reported earlier my AGP card seems to get the wrong IRQ. It works but
one IRQ remains completely unused. I just turned on debugging in the PCI
code...

The AGP slot 01:00.0 doesn't have an entry in the PRT so the code will try
to derive it from the AGP bridge 00:01.0

I'm not sure this is relevant but I included it here anyway:
pci_irq-0318 [0001] [02] acpi_pci_irq_enable : No interrupt pin configured
for device 00:01.0

Here's the interesting output:
pci_irq-0242 [0001] [03] acpi_pci_irq_lookup   : Searching for PRT entry
for 00:01:00[A]
<snip>
pci_irq-0248 [0001] [03] acpi_pci_irq_lookup   : PRT entry not found
<snip>
pci_irq-0242 [0001] [04] acpi_pci_irq_lookup   : Searching for PRT entry
for 00:00:01[B]
            ^^^
Why does it think 01:00.0[A] == 00:01.0[B]? This is what causes it to get
the IRQ from LNKB instead of LNKA.

Looking at the code in pci_irq.c:

while (!irq && (bridge = bridge->bus->self)) {
  pin = (pin + PCI_SLOT(bridge->devfn)) % 4;
  irq = acpi_pci_irq_lookup(0, bridge->bus->number, PCI_SLOT(bridge->devfn), pin);
}

So it seems that PCI_SLOT(brigde->devfn) is doing something wrong.

Any ideas?


PS.
I "fixed" the ISA sound card + SCSI CDROM problem by using a PCI sound
card. Something ISA related gets configured in a funny manner with ACPI.

-- 
Ville Syrjälä
syrjala-ORSVBvAovxo@public.gmane.org
http://www.sci.fi/~syrjala/


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-10-06 22:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-06 22:48 Abit KT7 IRQ routing Ville Syrjälä

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.