[PATCH]fix for Intel 8xx agp in 2.4.15-pre5

Nicolas Aspert (Nicolas.Aspert@epfl.ch)
Fri, 16 Nov 2001 14:03:20 +0100


This is a multi-part message in MIME format.
--------------060602030204020205010201
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

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)

--------------060602030204020205010201 Content-Type: text/plain; name="patch-agp_intel_8xx-2.4.15-pre5_fix_tlbflush" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="patch-agp_intel_8xx-2.4.15-pre5_fix_tlbflush"

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)); }

--------------060602030204020205010201--

- 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/