changeset 1989:bddeddc2cf42

G550 support
author arpi
date Thu, 27 Sep 2001 17:00:35 +0000
parents f21bf0842a55
children 7858bc1b360d
files drivers/mga_vid.c
diffstat 1 files changed, 10 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/drivers/mga_vid.c	Thu Sep 27 16:16:08 2001 +0000
+++ b/drivers/mga_vid.c	Thu Sep 27 17:00:35 2001 +0000
@@ -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@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");