[PATCH] ia32 irq router detection bug in 2.4.22-rc1-ac1

From: Bernhard Rosenkraenzer
Date: Sat Aug 09 2003 - 18:57:44 EST


2.4.22-rc1-ac1 can misdetect irq routers because of a typo in the probing
code.

Patch attached.

LLaP
bero

--
Ark Linux - Linux for the masses
http://www.arklinux.org/

Redistribution and processing of this message is subject to
http://www.arklinux.org/terms.php--- linux-2.4.21/arch/i386/kernel/pci-irq.c.ark 2003-08-09 17:38:10.000000000 +0200
+++ linux-2.4.21/arch/i386/kernel/pci-irq.c 2003-08-09 17:38:43.000000000 +0200
@@ -819,7 +819,7 @@
if (rt->rtr_vendor == h->vendor && h->probe(r, pirq_router_dev, rt->rtr_device))
break;
/* Fall back to a device match */
- if (pirq_router_dev->vendor == pirq_router_dev->vendor && h->probe(r, pirq_router_dev, pirq_router_dev->device))
+ if (pirq_router_dev->vendor == h->vendor && h->probe(r, pirq_router_dev, pirq_router_dev->device))
break;
}
printk(KERN_INFO "PCI: Using IRQ router %s [%04x/%04x] at %s\n",