agpgart for P4M266

Nimrod A. Abing (abing@redberger.com)
Sat, 31 May 2003 23:31:40 +0800


This is a MIME-formatted message. If you see this text it means that your
E-mail software does not support MIME-formatted messages.

--=_courier-29163-1054394727-0001-2
Content-Type: multipart/mixed; boundary="O5XBE6gyVG5Rl6Rj"
Content-Disposition: inline

--O5XBE6gyVG5Rl6Rj
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hello,

Below is a patch to 2.4.21-rc6 that adds agpgart support for Via Apollo=20
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.
--=20
_nimrod_a_abing_

PGP Public Key here:

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

Key expires 2003-11-06

--O5XBE6gyVG5Rl6Rj
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="2.4.21-rc6.patch_P4M266"

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

--O5XBE6gyVG5Rl6Rj--

--=_courier-29163-1054394727-0001-2
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE+2MrcuHkv79d67EwRAgiDAJ0W61XyGnu9RzSov/zwMIAdwq8jBQCfV2OA
xGCK5H9FdE480YZtjhwiZe0=
=w1k4
-----END PGP SIGNATURE-----

--=_courier-29163-1054394727-0001-2--