Skip to contentSkip to conversation

Patch: Fix for r128 DRM compilation problem

PATCH Gareth Hughes 1 participant 1 message Jan 5, 2001 Char and misc drivers

lore
Share & tools
lore
#0 lore raw

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:

drivers/char/drm/Config.in +1 -1
@@ -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 [email protected]
Please read the FAQ at http://www.tux.org/lkml/