lkml.org 
[lkml]   [2001]   [Nov]   [16]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateFri, 16 Nov 2001 14:03:20 +0100
FromNicolas Aspert <>
Subject[PATCH]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.
-- 
Nicolas Aspert      Signal Processing Laboratory (LTS)
Swiss Federal Institute of Technology (EPFL)
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
--- linux-2.4.15-pre5.clean/drivers/char/agp/agpgart_be.c	Fri Nov 16 08:45:44 2001
+++ linux-2.4.15-pre5/drivers/char/agp/agpgart_be.c	Fri Nov 16 13:51:44 2001
@@ -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));
 }
 
 
\
 
 \ /
  Last update: 2005-03-22 12:13    [W:0.143 / U:0.080 seconds]
©2003-2008 Jasper Spaans