[MPlayer-dev-eng] [PATCH] mga_vid for 2.6 - updated

Jan Knutar jknutar at nic.fi
Mon Jul 12 06:03:39 CEST 2004


> It works for me with 2.4.27-pre2, Debian unstable.  But I do use
> devfs, maybe this is the reason?

Is it just me, or was there a similar issue that was fixed with
the now reverted mga_vid 2.6 patch that went into CVS?

It still does not compile properly for me on Fedora Core 2's kernel 2.6.6, sigh :/

With the unmodified patch, it compiles, but for some fucked up
reason I can't figure out, pci_find_device always returns null nomatter
what, resulting in the driver not working at all.

And what's more fucked up, commenting out line 9 in the Makefile,
that is, this line:

CFLAGS = -O2  -D__KERNEL__  -DMODULE           -include $(KERNEL_INCLUDES)/config/modversions.h -Wall

Makes the resulting mga_vid.ko function. pci_find_device returns my matrox,
and everythign is just fine and dandy. I bet this breaks it for everyone else,
though. :-(

Anyone have any idea what's going on and why it magically works when not
defining CFLAGS, but breaks otherwise?




More information about the MPlayer-dev-eng mailing list