Skip to contentSkip to conversation

agpgart for P4M266

PATCH Nimrod A. Abing 1 participant 1 message May 31, 2003

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

Hello,

Below is a patch to 2.4.21-rc6 that adds agpgart support for Via Apollo P4M266. This chipset is used by my EliteGroup P4VMM2 mainboard. It works fine on my machine, e.g. I am able to run Quake III Arena and it runs more smoothly after the patch was applied. I was only able to test on my machine which has an NVIDIA TNT2 based gfx card (using drivers from NVIDIA).

Please CC me when replying as I am currently not subscribed to the list.

Signature · 7 lines
_nimrod_a_abing_

PGP Public Key here:

http://www.redberger.com/~abing/abing_at_redberger_dot_com.asc

Key expires 2003-11-06
drivers/char/agp/agpgart_be.c +6 -0
diff -Naur linux-2.4.21-rc6/drivers/char/agp/agpgart_be.c linux-2.4.21-rc6_abing/drivers/char/agp/agpgart_be.c
@@ -4688,6 +4688,12 @@
 		"Via",
 		"Apollo Pro KT400",
 		via_generic_setup },
+	{ PCI_DEVICE_ID_VIA_P4M266,
+		PCI_VENDOR_ID_VIA,
+		VIA_APOLLO_P4M266,
+		"Via",
+		"Apollo P4M266",
+		via_generic_setup },
 	{ PCI_DEVICE_ID_VIA_P4X333,
 		PCI_VENDOR_ID_VIA,
 		VIA_APOLLO_P4X400,
include/linux/agp_backend.h +1 -0
diff -Naur linux-2.4.21-rc6/include/linux/agp_backend.h linux-2.4.21-rc6_abing/include/linux/agp_backend.h
@@ -60,6 +60,7 @@
 	VIA_APOLLO_PRO,
 	VIA_APOLLO_KX133,
 	VIA_APOLLO_KT133,
+	VIA_APOLLO_P4M266,
 	VIA_APOLLO_P4X400,
 	VIA_APOLLO_KT400,
 	SIS_GENERIC,
include/linux/pci_ids.h +1 -0
diff -Naur linux-2.4.21-rc6/include/linux/pci_ids.h linux-2.4.21-rc6_abing/include/linux/pci_ids.h
@@ -1027,6 +1027,7 @@
 #define PCI_DEVICE_ID_VIA_8361		0x3112
 #define PCI_DEVICE_ID_VIA_8375     0x3116
 #define PCI_DEVICE_ID_VIA_8233A		0x3147
+#define PCI_DEVICE_ID_VIA_P4M266	0x3148
 #define PCI_DEVICE_ID_VIA_P4X333   0x3168
 #define PCI_DEVICE_ID_VIA_8235        0x3177
 #define PCI_DEVICE_ID_VIA_8377_0  0x3189