[Note: I'm not subscribed to xfree86, please cc me on replies]

Philippe Troin <[EMAIL PROTECTED]> writes:

> I've downloaded:
> 
>   
> ftp://ftp.xfree86.org/pub/XFree86/snapshots/4.4.99.902/binaries/Linux-ix86-glibc22/Xdrm.tgz
> 
> md5sum ba53177c27aa85608bc210d9cbb82acd  Xdrm.tgz
> 
> After extraction, src/drm/linux/kernel/Makefile references some i830*
> files which are not present in the archive.

Following up on my own post, two new issues:

 - the i915* files are also missing.

 - The via driver will fail to compile against 2.4.29 becasue IRQ_NONE
   and IRQ_HANDLED are #defined as empty.  Enclosed is a patch that
   autotects if we're using 2.4.x IRQ_NONE and IRQ_HANDLED and fixes
   them to that via_irq.c compiles.  This is kind of hackish, I think
   via_irq.c should be patched instead.

--- 
/home/phil/x/linux-2.4.29/../xfree86-4.5.0-4.4.99.902/kmod-tree/modules/xfree86-4.5.0-drm/drmP.h
    Sun Feb 20 16:56:05 2005
+++ drmP.h      Thu Mar  3 12:39:13 2005
@@ -80,6 +80,12 @@
 #include <linux/workqueue.h>
 #endif
 #include <linux/poll.h>
+#if -IRQ_NONE+1 == -1
+#undef IRQ_NONE
+#define IRQ_NONE (0)
+#undef IRQ_HANDLED
+#define IRQ_HANDLED (1)
+#endif
 #include <asm/pgalloc.h>
 #include "drm.h"
 
Phil.
_______________________________________________
XFree86 mailing list
[email protected]
http://XFree86.Org/mailman/listinfo/xfree86

Reply via email to