Re: Building mga_vid on Fedora Core 3

"Prof. BJ" <[email protected]> Sun, 13 Feb 2005 00:10:49 +0100 (CET)
Newsgroups gmane.comp.video.mplayer.user.matrox
Message-ID <[email protected]>
I have also FC3 (2.6.10-1.760_FC3) but no that problem. I
use the
old fashioned /dev/mga_vid (major: 83) via mknod.
Try also the include patch from me!

My problem is the kernel oops with pci_find_device(). In
this kernel
is little bit bugy, I am waiting for a new one from Fedora....
(After it, we should change for 2.6 from pci_find_device to
pci_get_device)

Another patch because of major nr:

_______________________________________________
MPlayer-matrox mailing list
[email protected]
http://mplayerhq.hu/mailman/listinfo/mplayer-matrox
mgadevnum.patch (application/octet-stream, 601 B)
--- mga_vid.c.org	2005-01-30 16:22:42.000000000 +0100
+++ mga_vid.c	2005-02-12 23:16:51.674654520 +0100
@@ -37,11 +37,11 @@
 // Set this value, if autodetection fails! (video ram size in megabytes)
 // #define MGA_MEMORY_SIZE 16
 
-#define DEFAULT_MGA_VID_MAJOR 178
+#define DEFAULT_MGA_VID_MAJOR 83
 
 //It's entirely possible this major conflicts with something else
-//use the 'major' parameter to override the default major number (178)
-/* mknod /dev/mga_vid c 178 0 */
+//use the 'major' parameter to override the default major number (83)
+/* mknod /dev/mga_vid c 83 0 */
 
@qXó\tx邟À9]<