Am Donnerstag, 28. Oktober 2004 12:42 schrieb Felix Kühling: > Two small problems I had with Linux 2.6.4: > > 1. In order to make drm_stub.c compile without errors I had to > #include <linux/moduleparam> explicitly.
You mean: --- linux-core/drm_stub.c 2004-10-28 17:44:45.192753118 +0200 +++ linux-core/drm_stub.c.new 2004-10-28 17:43:35.379578727 +0200 @@ -35,6 +35,7 @@ #include "drmP.h" #include "drm_core.h" +#include <linux/moduleparam.h> unsigned int cards_limit = 16; /* Enough for one machine */ unsigned int drm_debug = 0; /* 1 to enable debug output */ ;-) Works for me (r200, dual Athlon MP). SuSE Kernel 2.6.5-7.108-smp (.111). > 2. drm_compat.h defines an empty "module_param" if it's undefined. > It should do the same for "module_param_named". Cheers, Dieter ------------------------------------------------------- This Newsletter Sponsored by: Macrovision For reliable Linux application installations, use the industry's leading setup authoring tool, InstallShield X. Learn more and evaluate today. http://clk.atdmt.com/MSI/go/ins0030000001msi/direct/01/ -- _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel