Skip to contentSkip to conversation

PCI should use bios if direct is not detected

PATCH New Jim Radford 1 participant 1 message Oct 26, 2002

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 PCI should use bios if direct is not detected

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

arch/i386/pci/direct.c Sat Oct 26 00:39:23 2002 +0 -1
diff -Nru linux-2.5.44/arch/i386/pci/direct.c linux-2.5.44-bios/arch/i386/pci/direct.c
@@ -261,7 +261,6 @@
        }
 
        local_irq_restore(flags);
-       pci_root_ops = NULL;
        return 0;
 }