agp for i820 chipset
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hello again
The patch I posted previously lacks the documentation/configure updates. Sorry about that. Below is the (hopefully) correct version of the patch...
Nicolas.
PS: My previous question about SBA and FWP still holds ...
Signature · 2 lines
Nicolas Aspert Signal Processing Laboratory (LTS) Swiss Federal Institute of Technology (EPFL)
tmppc41/linux.agp_i820/Documentation/Configure.help renamed from usr/src/linux-2.4.9-6/Documentation/Configure.help +2 -2
@@ -3092,10 +3092,10 @@ a module, say M here and read <file:Documentation/modules.txt>. The module will be called agpgart.o. -Intel 440LX/BX/GX/815/840/850 support +Intel 440LX/BX/GX/815/820/840/850 support CONFIG_AGP_INTEL This option gives you AGP support for the GLX component of the - XFree86 4.x on Intel 440LX/BX/GX, 815, 840 and 850 chipsets. + XFree86 4.x on Intel 440LX/BX/GX, 815, 820, 840 and 850 chipsets. For the moment, you should probably say N, unless you want to test the GLX component for XFree86 3.3.6, which can be downloaded from
tmppc41/linux.agp_i820/drivers/char/Config.in renamed from usr/src/linux-2.4.9-6/drivers/char/Config.in +1 -1
@@ -208,7 +208,7 @@ dep_tristate '/dev/agpgart (AGP Support)' CONFIG_AGP $CONFIG_DRM_AGP if [ "$CONFIG_AGP" != "n" ]; then - bool ' Intel 440LX/BX/GX and I815/I840/I850 support' CONFIG_AGP_INTEL + bool ' Intel 440LX/BX/GX and I815/I820/I840/I850 support' CONFIG_AGP_INTEL bool ' Intel I810/I815 (on-board) support' CONFIG_AGP_I810 bool ' VIA chipset support' CONFIG_AGP_VIA bool ' AMD Irongate support' CONFIG_AGP_AMD
tmppc41/linux.agp_i820/drivers/char/agp/agp.h renamed from usr/src/linux-2.4.9-6/drivers/char/agp/agp.h +11 -0
@@ -170,6 +170,9 @@#ifndef PCI_DEVICE_ID_INTEL_810_0 #define PCI_DEVICE_ID_INTEL_810_0 0x7120#endif +#ifndef PCI_DEVICE_ID_INTEL_820_0 +#define PCI_DEVICE_ID_INTEL_820_0 0x2500 +#endif #ifndef PCI_DEVICE_ID_INTEL_840_0 #define PCI_DEVICE_ID_INTEL_840_0 0x1a21#endif
@@ -188,6 +191,9 @@#ifndef PCI_DEVICE_ID_INTEL_810_1 #define PCI_DEVICE_ID_INTEL_810_1 0x7121#endif +#ifndef PCI_DEVICE_ID_INTEL_820_1 +#define PCI_DEVICE_ID_INTEL_820_1 0x250f +#endif #ifndef PCI_DEVICE_ID_INTEL_810_DC100_1 #define PCI_DEVICE_ID_INTEL_810_DC100_1 0x7123#endif
@@ -242,6 +248,10 @@#define INTEL_NBXCFG 0x50#define INTEL_ERRSTS 0x91 +/* intel i820 registers */ +#define INTEL_I820_RDCR 0x51 +#define INTEL_I820_ERRSTS 0xc8 +/* intel i840 registers */ #define INTEL_I840_MCHCFG 0x50#define INTEL_I840_ERRSTS 0xc8
@@ -268,6 +278,7 @@#define I810_DRAM_ROW_0 0x00000001#define I810_DRAM_ROW_0_SDRAM 0x00000001 +/* VIA register */ #define VIA_APBASE 0x10#define VIA_GARTCTRL 0x80
tmppc41/linux.agp_i820/drivers/char/agp/agpgart_be.c renamed from usr/src/linux-2.4.9-6/drivers/char/agp/agpgart_be.c +70 -0
88 lines not on this page · raw message
tmppc41/linux.agp_i820/drivers/char/drm/drm_agpsupport.h renamed from usr/src/linux-2.4.9-6/drivers/char/drm/drm_agpsupport.h +1 -0
@@ -273,6 +273,7 @@#if LINUX_VERSION_CODE >=0x020400 case INTEL_I815 : head->chipset ="Intel i815" ;break ; +case INTEL_I820 : head->chipset ="Intel i820" ;break ;case INTEL_I840 : head->chipset ="Intel i840" ;break ;case INTEL_I850 : head->chipset ="Intel i850" ;break ;#endif
tmppc41/linux.agp_i820/include/linux/agp_backend.h renamed from usr/src/linux-2.4.9-6/include/linux/agp_backend.h +1 -0
@@ -46,6 +46,7 @@INTEL_GX ,INTEL_I810 ,INTEL_I815 , +INTEL_I820 ,INTEL_I840 ,INTEL_I850 , VIA_GENERIC,