public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "José Fonseca" <jrfonseca@tungstengraphics.com>
To: linux-kernel@vger.kernel.org
Cc: Marcelo Tosatti <marcelo@conectiva.com.br>
Subject: [PATCH] AGPGART, kernel 2.4.22 -- add support for Intel 875P
Date: Tue, 18 Nov 2003 17:16:35 +0000	[thread overview]
Message-ID: <20031118171635.GA7507@localhost> (raw)

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

As far as I can understand from Dave Jone's 2.5.69-dj1 patch in
<http://www.kernel.org/pub/linux/kernel/people/davej/patches/2.5/2.5.69/>,
Matt Tolentino's AGPGART patch for Intel 875P patch support simply binds
the i845 driver in the presence of the Intel 875P PCI ID. 

The patch attached does the same thing for kernel 2.4.22. No attempt to
verify this from the 845G/875P specifications was made, since 3D
acceleration in my machine has been working faultlessly with it.

José Fonseca

[-- Attachment #2: linux-2.4.22-agpgart-i875p.diff --]
[-- Type: text/plain, Size: 2323 bytes --]

diff -ur linux-2.4.22.orig/Documentation/Configure.help linux-2.4.22/Documentation/Configure.help
--- linux-2.4.22.orig/Documentation/Configure.help	2003-09-13 11:48:23.000000000 +0100
+++ linux-2.4.22/Documentation/Configure.help	2003-11-11 17:57:13.000000000 +0000
@@ -3678,10 +3678,11 @@
   a module, say M here and read <file:Documentation/modules.txt>.  The
   module will be called agpgart.o.
 
-Intel 440LX/BX/GX/815/820/830/840/845/850/860 support
+Intel 440LX/BX/GX/815/820/830/840/845/850/860/875 support
 CONFIG_AGP_INTEL
   This option gives you AGP support for the GLX component of the
-  XFree86 4.x on Intel 440LX/BX/GX, 815, 820, 830, 840, 845, 850 and 860 chipsets.
+  XFree86 4.x on Intel 440LX/BX/GX, 815, 820, 830, 840, 845, 850, 860 and 875
+  chipsets.
 
   You should say Y here if you use XFree86 3.3.6 or 4.x and want to
   use GLX or DRI.  If unsure, say N.
diff -ur linux-2.4.22.orig/drivers/char/agp/agp.h linux-2.4.22/drivers/char/agp/agp.h
--- linux-2.4.22.orig/drivers/char/agp/agp.h	2003-07-18 11:49:34.000000000 +0100
+++ linux-2.4.22/drivers/char/agp/agp.h	2003-11-11 17:48:57.000000000 +0000
@@ -205,6 +205,9 @@
 #ifndef PCI_DEVICE_ID_INTEL_865_G_1
 #define PCI_DEVICE_ID_INTEL_865_G_1	0x2572
 #endif
+#ifndef PCI_DEVICE_ID_INTEL_875_P_0
+#define PCI_DEVICE_ID_INTEL_875_P_0	0x2578
+#endif
 #ifndef PCI_DEVICE_ID_INTEL_820_0
 #define PCI_DEVICE_ID_INTEL_820_0       0x2500
 #endif
diff -ur linux-2.4.22.orig/drivers/char/agp/agpgart_be.c linux-2.4.22/drivers/char/agp/agpgart_be.c
--- linux-2.4.22.orig/drivers/char/agp/agpgart_be.c	2003-09-03 11:27:04.000000000 +0100
+++ linux-2.4.22/drivers/char/agp/agpgart_be.c	2003-11-11 17:51:20.000000000 +0000
@@ -4918,6 +4918,13 @@
 		"865G",
 		 intel_845_setup },
 
+	{ PCI_DEVICE_ID_INTEL_875_P_0,
+		PCI_VENDOR_ID_INTEL,
+		INTEL_I875_P,
+		"Intel(R)",
+		"875P",
+		 intel_845_setup },
+
 	{ PCI_DEVICE_ID_INTEL_840_0,
 		PCI_VENDOR_ID_INTEL,
 		INTEL_I840,
diff -ur linux-2.4.22.orig/include/linux/agp_backend.h linux-2.4.22/include/linux/agp_backend.h
--- linux-2.4.22.orig/include/linux/agp_backend.h	2003-11-11 17:59:03.000000000 +0000
+++ linux-2.4.22/include/linux/agp_backend.h	2003-11-11 17:53:01.000000000 +0000
@@ -55,6 +55,7 @@
 	INTEL_I855_PM,
 	INTEL_I860,
 	INTEL_I865_G,
+	INTEL_I875_P,
 	VIA_GENERIC,
 	VIA_VP3,
 	VIA_MVP3,

                 reply	other threads:[~2003-11-18 17:16 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=20031118171635.GA7507@localhost \
    --to=jrfonseca@tungstengraphics.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcelo@conectiva.com.br \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox