Ok based on Petr's comments about VIA stuff being a bit funny. We can
refine this test later.
--- arch/i386/kernel/pci-i386.c~ 2002-08-04 20:06:54.000000000 +0100
+++ arch/i386/kernel/pci-i386.c 2002-08-04 20:06:54.000000000 +0100
@@ -277,6 +277,11 @@
if((r9 & 0x0A) != 0x0A) /* Legacy only */
return 0;
+ /* Leave alone VIA chips */
+
+ if (dev->vendor == PCI_VENDOR_ID_VIA)
+ return 0;
+
/* Request programmability */
pci_write_config_byte(dev, PCI_CLASS_PROG, r9|0x05);
-
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/