[PATCH] PCI should use bios if direct is not detected

From: Jim Radford (radford@blackbean.org)
Date: Sat Oct 26 2002 - 03:04:47 EST


In 2.4.10 the pci subsystem stopped using the bios to access the PCI
config space when no direct method is detected even though it does
detect that it *can* use the bios leaving my machine PCI-less :-(.
This patch restores the older saner behavior and shouldn't affect any
working system.

-Jim

diff -Nru linux-2.5.44/arch/i386/pci/direct.c linux-2.5.44-bios/arch/i386/pci/direct.c
--- linux-2.5.44/arch/i386/pci/direct.c Sat Oct 26 00:39:23 2002
+++ linux-2.5.44-bios/arch/i386/pci/direct.c Sat Oct 26 00:39:23 2002
@@ -261,7 +261,6 @@
        }

        local_irq_restore(flags);
- pci_root_ops = NULL;
        return 0;
 }

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Oct 31 2002 - 22:00:30 EST