tree 7fc1202788f37bc07355a20d4e8691916c23f1af
parent c7cc8eadfd1869894228bcdebea87680f187d464
author Aleksey Gorelov <[EMAIL PROTECTED]> Sat, 30 Jul 2005 05:04:29 -0700
committer Marcelo Tosatti <[EMAIL PROTECTED]> Sat, 06 Aug 2005 00:11:38 -0300

[PATCH] Fix incorrect Asus k7m irq router detection

Here is 2.4 version of a patch submitted earlier for 2.6 by Giancarlo

this patch:
uncovered a k7m bios bug, where the VT82C686A router is reported as
being "586-compatible". The two chips have different pirq mapping, so
this leads to "irq routing conflict" on many pci devices.

Patch for 2.4.32-pre2

Signed-off-by: Aleksey Gorelov <[EMAIL PROTECTED]>

diff --git a/arch/i386/kernel/pci-irq.c b/arch/i386/kernel/pci-irq.c

 arch/i386/kernel/pci-irq.c |    7 +++++++
 1 files changed, 7 insertions(+)

diff --git a/arch/i386/kernel/pci-irq.c b/arch/i386/kernel/pci-irq.c
--- a/arch/i386/kernel/pci-irq.c
+++ b/arch/i386/kernel/pci-irq.c
@@ -664,6 +664,13 @@ static __init int intel_router_probe(str
 static __init int via_router_probe(struct irq_router *r, struct pci_dev 
*router, u16 device)
        /* FIXME: We should move some of the quirk fixup stuff here */
+       if (router->device == PCI_DEVICE_ID_VIA_82C686 &&
+               device == PCI_DEVICE_ID_VIA_82C586_0) {
+               /* Asus k7m bios wrongly reports 82C686A as 586-compatible */
+               device = PCI_DEVICE_ID_VIA_82C686;
+       }
                case PCI_DEVICE_ID_VIA_82C586_0:
To unsubscribe from this list: send the line "unsubscribe git-commits-24" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to