* [PATCH] IRQ derive fix
@ 2002-10-07 22:53 Ville Syrjälä
0 siblings, 0 replies; only message in thread
From: Ville Syrjälä @ 2002-10-07 22:53 UTC (permalink / raw)
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
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.
--- linux-2.4.20-pre7/drivers/acpi/pci_irq.c~ Thu Sep 19 17:17:58 2002
+++ linux-2.4.20-pre7/drivers/acpi/pci_irq.c Tue Oct 8 01:45:29 2002
@@ -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);
}
--
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-07 22:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-07 22:53 [PATCH] IRQ derive fix 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.