[Mplayer-cvslog] CVS: main/drivers mga_vid.c,1.22,1.23

Arpi of Ize arpi at mplayer.dev.hu
Thu Sep 27 19:01:09 CEST 2001


Update of /cvsroot/mplayer/main/drivers
In directory mplayer:/var/tmp.root/cvs-serv334

Modified Files:
	mga_vid.c 
Log Message:
G550 support

Index: mga_vid.c
===================================================================
RCS file: /cvsroot/mplayer/main/drivers/mga_vid.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- mga_vid.c	23 May 2001 19:51:52 -0000	1.22
+++ mga_vid.c	27 Sep 2001 17:00:35 -0000	1.23
@@ -71,6 +71,10 @@
 #define PCI_DEVICE_ID_MATROX_G400 0x0525
 #endif
 
+#ifndef PCI_DEVICE_ID_MATROX_G550 
+#define PCI_DEVICE_ID_MATROX_G550 0x2527
+#endif
+
 MODULE_AUTHOR("Aaron Holtzman <aholtzma at engr.uvic.ca>");
 
 
@@ -726,7 +730,12 @@
 	struct pci_dev *dev = NULL;
 	unsigned int card_option;
 
-	if((dev = pci_find_device(PCI_VENDOR_ID_MATROX, PCI_DEVICE_ID_MATROX_G400, NULL)))
+	if((dev = pci_find_device(PCI_VENDOR_ID_MATROX, PCI_DEVICE_ID_MATROX_G550, NULL)))
+	{
+		is_g400 = 1;
+		printk(KERN_INFO "mga_vid: Found MGA G550\n");
+	}
+	else if((dev = pci_find_device(PCI_VENDOR_ID_MATROX, PCI_DEVICE_ID_MATROX_G400, NULL)))
 	{
 		is_g400 = 1;
 		printk(KERN_INFO "mga_vid: Found MGA G400/G450\n");




More information about the MPlayer-cvslog mailing list