From dhchen@Canvas.dorm7.nccu.edu.tw  Sat Dec 19 22:56:55 1998
Received: from Canvas.dorm7.nccu.edu.tw (Canvas.Dorm7.nccu.edu.tw [140.119.195.75])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA10745
          for <FreeBSD-gnats-submit@freebsd.org>; Sat, 19 Dec 1998 22:56:39 -0800 (PST)
          (envelope-from dhchen@Canvas.dorm7.nccu.edu.tw)
Received: (from dhchen@localhost)
	by Canvas.dorm7.nccu.edu.tw (8.9.1/8.9.1) id OAA00623;
	Sun, 20 Dec 1998 14:58:39 +0800 (CST)
	(envelope-from dhchen)
Message-Id: <199812200658.OAA00623@Canvas.dorm7.nccu.edu.tw>
Date: Sun, 20 Dec 1998 14:58:39 +0800 (CST)
From: "Alex D. Chen" <dhchen@Canvas.dorm7.nccu.edu.tw>
Reply-To: dhchen@Canvas.dorm7.nccu.edu.tw
To: FreeBSD-gnats-submit@freebsd.org
Subject: Matrox Mystique chip name typo error
X-Send-Pr-Version: 3.2

>Number:         9137
>Category:       kern
>Synopsis:       Matrox Mystique chip name typo error
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Dec 19 23:00:01 PST 1998
>Closed-Date:    Wed Dec 23 06:54:43 PST 1998
>Last-Modified:  Wed Dec 23 06:57:34 PST 1998
>Originator:     Alex D. Chen
>Release:        FreeBSD 3.0-CURRENT i386
>Organization:
>Environment:

	

>Description:
I've installed a Matrox Mystique220 on my box.When detecting PCI devices
in booting procedure,the kernel reports:

vga0: <Matrox MGA 1024SG graphics accelerator> rev 0x03 int a irq 11 on pci0.8.0

According to Matrox's Windows Driver,it should be 1164SG(for Mystique 220)
or 1064SG(for Mystique 170)

>How-To-Repeat:
Install a Matrox Mystique on a box,and boot with FreeBSD. :)

>Fix:
/sys/pci/pcisupport.c,line978:

		case 0x051a:
			chip = "MGA 1024SG"; break;
change to:
		case 0x051a
			chip = "MGA 1064SG or 1164SG"; break;
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: foxfair 
State-Changed-When: Wed Dec 23 06:54:43 PST 1998 
State-Changed-Why:  
Add Matrox Mystique 1064/1164SG chips info. By the datasheet from Matrox, 
they use the same value in the VID register. 
>Unformatted:
