Skip to contentSkip to conversation

KT 400 ATI-Only Patch for AGP 8x

PATCH Gregor Essers 1 participant 1 message Jun 18, 2003

lore
Share & tools
lore
#0 lore raw

Hi all,

long searches have bring me to a thread on rage3d.com, and someone there has patched the Ati-Drivers from schneider-digital.de (13.5.2003).

I home that can help :)

Regards

Gregor Essers

agp.h +8 -1
@@ -47,8 +47,9 @@
 #define _FGL_AGP_H
 
 // build config defines
+#ifndef VIA_KT400_AGP3
 #define FGL_USE_AGPV3_OFFICIAL_ENABLE       /* use offical AGP V3 code */
-
+#endif
 // helper defines - for any public source of firegl code tree.
 
 // min/max defines taken from include/linux/kernel.h of linux-2.4.10-pre9
@@ -837,6 +838,12 @@
 #define VIA_APSIZE      0x84
 #define VIA_ATTBASE     0x88
 
+/* VIA KT400 */
+#define VIA_AGP3_GARTCTRL 0x90
+#define VIA_AGP3_APSIZE	  0x94
+#define VIA_AGP3_ATTBASE  0x98
+#define VIA_AGPSEL        0xfd
+
 /* SiS registers */
 #define SIS_APBASE      0x10
 #define SIS_ATTBASE     0x90
agpgart_be.c +83 -0

114 lines not on this page · raw message

make.sh +1 -1
@@ -781,7 +781,7 @@
 
 # ==============================================================
 # defines for all targets
-def_for_all="-DATI_AGP_HOOK -DATI -DFGL -D${target_define} -DFGL_CUSTOM_MODULE"
+def_for_all="-DATI_AGP_HOOK -DATI -DFGL -D${target_define} -DFGL_CUSTOM_MODULE -DVIA_KT400_AGP3"
 
 
 # ==============================================================