public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* agpgart for P4M266
@ 2003-05-31 15:31 Nimrod A. Abing
  0 siblings, 0 replies; only message in thread
From: Nimrod A. Abing @ 2003-05-31 15:31 UTC (permalink / raw)
  To: linux-kernel


[-- Attachment #1.1: Type: text/plain, Size: 597 bytes --]

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.
-- 
_nimrod_a_abing_

PGP Public Key here:

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

Key expires 2003-11-06

[-- Attachment #1.2: 2.4.21-rc6.patch_P4M266 --]
[-- Type: text/plain, Size: 1594 bytes --]

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
--- linux-2.4.21-rc6/drivers/char/agp/agpgart_be.c	2003-05-31 22:31:24.000000000 +0800
+++ linux-2.4.21-rc6_abing/drivers/char/agp/agpgart_be.c	2003-05-31 21:30:08.000000000 +0800
@@ -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,
diff -Naur linux-2.4.21-rc6/include/linux/agp_backend.h linux-2.4.21-rc6_abing/include/linux/agp_backend.h
--- linux-2.4.21-rc6/include/linux/agp_backend.h	2003-05-31 22:31:51.000000000 +0800
+++ linux-2.4.21-rc6_abing/include/linux/agp_backend.h	2003-05-31 21:29:21.000000000 +0800
@@ -60,6 +60,7 @@
 	VIA_APOLLO_PRO,
 	VIA_APOLLO_KX133,
 	VIA_APOLLO_KT133,
+	VIA_APOLLO_P4M266,
 	VIA_APOLLO_P4X400,
 	VIA_APOLLO_KT400,
 	SIS_GENERIC,
diff -Naur linux-2.4.21-rc6/include/linux/pci_ids.h linux-2.4.21-rc6_abing/include/linux/pci_ids.h
--- linux-2.4.21-rc6/include/linux/pci_ids.h	2003-05-31 22:31:54.000000000 +0800
+++ linux-2.4.21-rc6_abing/include/linux/pci_ids.h	2003-05-31 21:29:37.000000000 +0800
@@ -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

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-05-31 15:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-31 15:31 agpgart for P4M266 Nimrod A. Abing

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox