[MPlayer-dev-eng] [PATCH] add G550 memory detection to mga_vid.c
Diego Biurrun
diego at biurrun.de
Fri Feb 8 17:03:48 CET 2002
Hello!
Here is a very simple patch made by Dirk Meul, a friend of mine, to
add automatic memory detection for the Matrox G550 to mga_vid.c:
Regards
Diego
--- /usr/src/mplayer/drivers/mga_vid.c Fri Feb 8 13:05:27 2002
+++ mga_vid.c Thu Feb 7 18:55:24 2002
@@ -1302,7 +1306,8 @@
// SDRAM:
case 0x00:
case 0x04: mga_ram_size = 16; break;
- case 0x03: mga_ram_size = 32; break;
+ case 0x03:
+ case 0x05: mga_ram_size = 32; break;
// SGRAM:
case 0x10:
case 0x14: mga_ram_size = 32; break;
@@ -1504,7 +1509,7 @@
mga_vid_in_use = 0;
// printk(KERN_INFO "Matrox MGA G200/G400 YUV Video interface v0.01 (c) Aaron Holtzman \n");
- printk(KERN_INFO "Matrox MGA G200/G400/G450 YUV Video interface v2.01 (c) Aaron Holtzman & A'rpi\n");
+ printk(KERN_INFO "Matrox MGA G200/G400/G450/G550 YUV Video interface v2.01 (c) Aaron Holtzman & A'rpi\n");
if (mga_ram_size) {
if (mga_ram_size<4 || mga_ram_size>64) {
More information about the MPlayer-dev-eng
mailing list