The kernel module in the X tree is broken against the latest development
kernels and the module that ships with the kernel is flagged as too old
to work with X. According to David Miller, this patch will fix up the
kernel shipped module to work:


--- vanilla/linux/drivers/char/drm/drm.h        Tue Mar 14 09:27:31 2000
+++ linux/drivers/char/drm/drm.h        Sun Jun 18 00:28:26 2000
@@ -247,7 +247,7 @@
 
 #define DRM_IOCTL_VERSION    DRM_IOWR(0x00, drm_version_t)
 #define DRM_IOCTL_GET_UNIQUE DRM_IOWR(0x01, drm_unique_t)
-#define DRM_IOCTL_GET_MAGIC  DRM_IOW( 0x02, drm_auth_t)
+#define DRM_IOCTL_GET_MAGIC  DRM_IOR( 0x02, drm_auth_t)
 #define DRM_IOCTL_IRQ_BUSID  DRM_IOWR(0x03, drm_irq_busid_t)
 
 #define DRM_IOCTL_SET_UNIQUE DRM_IOW( 0x10, drm_unique_t)

I should also note that there is a version flag in the tdfx driver that
also has to be adjusted or X will still reject it.

John

Guillaume Cottenceau wrote:
> 
> José Luiz Barci Neves <[EMAIL PROTECTED]> writes:
> 
> > Where i can take a XFREE 4.01 mdk of course ?
> >
> > thanks a lot!
> 
> For the moment it does not work. We've worked on that yesterday but not
> yet finished -- the dri/tdfx module does not compile anymore with 4.0.1
> and Fred does not no why.
> 
> FYI I was meaning the tdfx.o kernel module, not tdfx_drv.o for which fred
> answered. He managed to compile that yesterday but we have to decide
> whether it's possible to put it in the kernel package which would be
> better of course.
> 
> > > ----------
> > > From:       Frederic Lepied[SMTP:[EMAIL PROTECTED]]
> > > Reply To:   [EMAIL PROTECTED]
> > > Sent:       quinta-feira, 13 de julho de 2000 06:07
> > > To:         [EMAIL PROTECTED]
> > > Subject:    Re: [Cooker] 3dfx voodoo3 with XFree4
> > >
> > > Guillaume Cottenceau <[EMAIL PROTECTED]> writes:
> > >
> > > > "Hoyt" <[EMAIL PROTECTED]> writes:
> > > >
> > > > > Isn't the newest 4.0.1 supposed to include the tdfx.0 driver now?
> > > >
> > > > supposed to, yes. i did not tested it so I don't know. fred?
> > > >
> > >
> > > yes :
> > >
> > > $ rpm -qlp XFree86-server-4.0.1-2mdk.i586.rpm | grep tdfx
> > > /usr/X11R6/lib/modules/drivers/tdfx_drv.o
> > > --
> > > Fred - May the source be with you
> > >
> >
> 
> --
> Guillaume Cottenceau -- Distribution Developer for MandrakeSoft
> http://www.mandrakesoft.com/~gc/

Reply via email to