Re: problem installing mga dri module in 2.4.0-test5

From: Tony Hoyle (tmh@magenta-logic.com)
Date: Wed Aug 02 2000 - 09:18:18 EST


"Thomas E. Vaughan" wrote:

> That's what I meant, but I chose words very poorly. I turned off
> CONFIG_MODVERSIONS, and now I get XFree 4.0.1 with direct rendering for my
> G400.

OK :-)

Anyway, here's the patch, in case you need it:

--- agpsupport.c.old Sun Jul 30 17:10:07 2000
+++ agpsupport.c Sun Jul 30 17:51:21 2000
@@ -31,6 +31,12 @@
 #define __NO_VERSION__
 #include "drmP.h"
 
+/* External symbol mangling for agp */
+#ifdef CONFIG_MODVERSIONS
+#include <linux/modsetver.h>
+#include <linux/modules/agpgart_be.ver>
+#endif
+
 drm_agp_func_t drm_agp = { NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL };
 
 /* The C standard says that 'void *' is not guaranteed to hold a
function

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



This archive was generated by hypermail 2b29 : Mon Aug 07 2000 - 21:00:08 EST