Messages in this thread Patch in this message | | | Date | Wed, 11 Dec 2002 01:06:46 -0500 (EST) | From | Nathaniel Russell <> | Subject | [PATCH] AGP support VIA VT8633 |
| |
This patch adds support for the Via VT8633 AGP Bridge. Also this patch has been tested with a variety of GL apps including the GL ScreenSavers. The patch includes the via_generic_setup routines and Device ID's. Please Apply against current 2.4.x Kernel Nathaniel CC Me as I'm not subscribed to the list reddog83@chartermi.net
THIS IS A REVISED PATCH diff -urN linux-agp/drivers/char/drm-4.0/agpsupport.c~ linux/drivers/char/drm-4.0/agpsupport.c --- linux-agp/drivers/char/drm-4.0/agpsupport.c~ 2002-12-03 21:07:08.000000000 -0500 +++ linux/drivers/char/drm-4.0/agpsupport.c 2002-12-10 23:52:46.000000000 -0500 @@ -275,6 +275,8 @@ break; case VIA_APOLLO_KT133: head->chipset = "VIA Apollo KT133"; break; + case VIA_APOLLO_PRO266: head->chipset = "VIA Apollo Pro266"; + break; #endif case VIA_APOLLO_PRO: head->chipset = "VIA Apollo Pro"; diff -urN linux-agp/drivers/char/drm/drm_agpsupport.h~ linux/drivers/char/drm/drm_agpsupport.h --- linux-agp/drivers/char/drm/drm_agpsupport.h~ 2002-12-06 02:07:34.000000000 -0500 +++ linux/drivers/char/drm/drm_agpsupport.h 2002-12-10 23:50:43.000000000 -0500 @@ -281,6 +281,8 @@ break; case VIA_APOLLO_PRO: head->chipset = "VIA Apollo Pro"; break; + case VIA_APOLLO_PRO266: head->chipset = "VIA Apollo Pro266"; + break; case SIS_GENERIC: head->chipset = "SiS"; break; case AMD_GENERIC: head->chipset = "AMD"; break; diff -urN linux-agp/include/linux/agp_backend.h~ linux/include/agp_backend.h --- linux-agp/include/linux/agp_backend.h~ 2002-12-03 21:07:09.000000000 -0500 +++ linux/include/linux/agp_backend.h 2002-12-10 04:25:59.000000000 -0500 @@ -57,6 +57,7 @@ VIA_VP3, VIA_MVP3, VIA_MVP4, + VIA_APOLLO_PRO266, VIA_APOLLO_PRO, VIA_APOLLO_KX133, VIA_APOLLO_KT133, diff -urN linux-agp/drivers/char/agp/agpgart_be.c~ linux/drivers/char/agp/agpgart_be.c --- linux-agp/drivers/char/agp/agpgart_be.c~ 2002-12-02 19:20:22.000000000 -0500 +++ linux/drivers/char/agp/agpgart_be.c 2002-12-07 04:09:59.000000000 -0500 @@ -4714,6 +4714,12 @@ "Via", "Apollo Pro KT266", via_generic_setup }, + { PCI_DEVICE_ID_VIA_8633_0, + PCI_VENDOR_ID_VIA, + VIA_APOLLO_PRO266, + "Via", + "Apollo Pro266", + via_generic_setup }, { 0, PCI_VENDOR_ID_VIA, VIA_GENERIC, | |