Patch: Fix for r128 DRM compilation problem

From: Gareth Hughes (gareth@valinux.com)
Date: Fri Jan 05 2001 - 02:34:01 EST


The 2.4.0 kernel will fail to compile if the r128 DRM module is enabled
but AGP support (agpgart) is not. The following patch fixes this error:

--- linux/drivers/char/drm/Config.in Wed Aug 9 02:27:33 2000
+++ linux.gth/drivers/char/drm/Config.in Fri Jan 5 18:11:53 2001
@@ -9,7 +9,7 @@
 if [ "$CONFIG_DRM" != "n" ]; then
     tristate ' 3dfx Banshee/Voodoo3+' CONFIG_DRM_TDFX
     tristate ' 3dlabs GMX 2000' CONFIG_DRM_GAMMA
- tristate ' ATI Rage 128' CONFIG_DRM_R128
+ dep_tristate ' ATI Rage 128' CONFIG_DRM_R128 $CONFIG_AGP
     dep_tristate ' Intel I810' CONFIG_DRM_I810 $CONFIG_AGP
     dep_tristate ' Matrox g200/g400' CONFIG_DRM_MGA $CONFIG_AGP
 fi

I will apply this to DRI CVS now. Apologies for letting this slip
through.

-- Gareth
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Jan 07 2001 - 21:00:21 EST