All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nicolas Aspert <Nicolas.Aspert@epfl.ch>
To: linux-kernel <linux-kernel@vger.kernel.org>,
	torvalds <torvalds@transmeta.com>
Subject: [PATCH]fix for Intel 8xx agp in 2.4.15-pre5
Date: Fri, 16 Nov 2001 14:03:20 +0100	[thread overview]
Message-ID: <3BF50E98.6020403@epfl.ch> (raw)

[-- Attachment #1: Type: text/plain, Size: 308 bytes --]

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)

[-- Attachment #2: patch-agp_intel_8xx-2.4.15-pre5_fix_tlbflush --]
[-- Type: text/plain, Size: 655 bytes --]

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

                 reply	other threads:[~2001-11-16 13:03 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3BF50E98.6020403@epfl.ch \
    --to=nicolas.aspert@epfl.ch \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@transmeta.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.