Skip to contentSkip to conversation

fix for Intel 8xx agp in 2.4.15-pre5

PATCH New Nicolas Aspert 1 participant 1 message Nov 16, 2001 Agpgart driver

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix for Intel 8xx agp in 2.4.15-pre5

Hello

There is a mistake in the routine 'intel_8xx_tlbflush' in the agpgart module (and I think I am responsible for it... shame on me !). Anyway here is the patch (against 2.4.15-pre5).

Best regards.

Signature · 2 lines
Nicolas Aspert      Signal Processing Laboratory (LTS)
Swiss Federal Institute of Technology (EPFL)
drivers/char/agp/agpgart_be.c +1 -1
diff -Nru linux-2.4.15-pre5.clean/drivers/char/agp/agpgart_be.c linux-2.4.15-pre5/drivers/char/agp/agpgart_be.c
@@ -1462,7 +1462,7 @@
   pci_read_config_dword(agp_bridge.dev, INTEL_AGPCTRL, &temp);
   pci_write_config_dword(agp_bridge.dev, INTEL_AGPCTRL, temp & ~(1 << 7));
   pci_read_config_dword(agp_bridge.dev, INTEL_AGPCTRL, &temp);
-  pci_write_config_dword(agp_bridge.dev, INTEL_AGPCTRL, temp & (1 << 7));
+  pci_write_config_dword(agp_bridge.dev, INTEL_AGPCTRL, temp | (1 << 7));
 }