patch-2.4.9 linux/arch/i386/kernel/pci-pc.c

Next file: linux/arch/i386/kernel/smp.c
Previous file: linux/arch/i386/kernel/i386_ksyms.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.8/linux/arch/i386/kernel/pci-pc.c linux/arch/i386/kernel/pci-pc.c
@@ -948,34 +948,6 @@
 	d->irq = 9;
 }
 
-static void __init pci_fixup_via691(struct pci_dev *d)
-{
-	/*
-	 * The VIA bridge corrupts with Posting enabled
-	 */
-	u8 tmp;
-	
-	pci_read_config_byte(d, 0x70, &tmp);
-	if(tmp & (1<<7)) {
-		printk("PCI: Disabled enhanced CPU to PCI posting\n");
-		pci_write_config_byte(d, 0x70, tmp & ~(1<<7));
-	}
-}
-static void __init pci_fixup_via691_2(struct pci_dev *d)
-{
-	/*
-	 * The VIA bridge corrupts with Posting enabled
-	 */
-	u8 tmp;
-	
-	pci_read_config_byte(d, 0x40, &tmp);
-	if(tmp & (1<<7)) {
-		printk("PCI: Disabled enhanced CPU to PCI posting #2\n");
-		pci_write_config_byte(d, 0x40, tmp & ~(1<<7));
-	}
-}
-
-
 struct pci_fixup pcibios_fixups[] = {
 	{ PCI_FIXUP_HEADER,	PCI_VENDOR_ID_INTEL,	PCI_DEVICE_ID_INTEL_82451NX,	pci_fixup_i450nx },
 	{ PCI_FIXUP_HEADER,	PCI_VENDOR_ID_INTEL,	PCI_DEVICE_ID_INTEL_82454GX,	pci_fixup_i450gx },
@@ -994,8 +966,6 @@
 	{ PCI_FIXUP_HEADER,	PCI_ANY_ID,		PCI_ANY_ID,			pci_fixup_ide_bases },
 	{ PCI_FIXUP_HEADER,	PCI_VENDOR_ID_SI,	PCI_DEVICE_ID_SI_5597,		pci_fixup_latency },
 	{ PCI_FIXUP_HEADER,	PCI_VENDOR_ID_SI,	PCI_DEVICE_ID_SI_5598,		pci_fixup_latency },
- 	{ PCI_FIXUP_HEADER,	PCI_VENDOR_ID_VIA,	PCI_DEVICE_ID_VIA_82C691,	pci_fixup_via691 },
- 	{ PCI_FIXUP_HEADER,	PCI_VENDOR_ID_VIA,	PCI_DEVICE_ID_VIA_82C598_1,	pci_fixup_via691_2 },
  	{ PCI_FIXUP_HEADER,	PCI_VENDOR_ID_INTEL,	PCI_DEVICE_ID_INTEL_82371AB_3,	pci_fixup_piix4_acpi },
 	{ 0 }
 };

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)