Skip to contentSkip to conversation

AGPGART, kernel 2.4.22 -- add support for Intel 875P

PATCH New José Fonseca 1 participant 1 message Nov 18, 2003

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 AGPGART, kernel 2.4.22 -- add support for Intel 875P

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

Documentation/Configure.help +3 -2
diff -ur linux-2.4.22.orig/Documentation/Configure.help linux-2.4.22/Documentation/Configure.help
@@ -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.
drivers/char/agp/agp.h +3 -0
diff -ur linux-2.4.22.orig/drivers/char/agp/agp.h linux-2.4.22/drivers/char/agp/agp.h
@@ -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
drivers/char/agp/agpgart_be.c +7 -0
diff -ur linux-2.4.22.orig/drivers/char/agp/agpgart_be.c linux-2.4.22/drivers/char/agp/agpgart_be.c
@@ -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,
include/linux/agp_backend.h +1 -0
diff -ur linux-2.4.22.orig/include/linux/agp_backend.h linux-2.4.22/include/linux/agp_backend.h
@@ -55,6 +55,7 @@
 	INTEL_I855_PM,
 	INTEL_I860,
 	INTEL_I865_G,
+	INTEL_I875_P,
 	VIA_GENERIC,
 	VIA_VP3,
 	VIA_MVP3,