Skip to contentSkip to conversation

IRQ derive fix

PATCH New Ville Syrjälä 1 participant 1 message Oct 7, 2002

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 IRQ derive fix

This fixes the IRQ routing for my AGP slot. I'm not sure it's correct but at least it works and the IO APIC code does things this way. Now my G400 get's the IRQ assigned by the BIOS.

drivers/acpi/pci_irq.c Tue Oct 8 01:45:29 2002 renamed from drivers/acpi/pci_irq.c~ Thu Sep 19 17:17:58 2002 +1 -1
@@ -285,7 +285,7 @@
         * PCI interrupt routing entry (a.k.a. the "bridge swizzle").
         */
        while (!irq && (bridge = bridge->bus->self)) {
-               pin = (pin + PCI_SLOT(bridge->devfn)) % 4;
+               pin = (pin + PCI_SLOT(dev->devfn)) % 4;
                irq = acpi_pci_irq_lookup(0, bridge->bus->number, PCI_SLOT(bridge->devfn), pin);
        }
 
Signature · 9 lines
Ville Syrjälä
[email protected]
http://www.sci.fi/~syrjala/


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