From rmukerji@execpc.com  Fri Mar 10 00:24:45 2000
Return-Path: <rmukerji@execpc.com>
Received: from mailgw01.execpc.com (mailgw01.execpc.com [169.207.2.78])
	by hub.freebsd.org (Postfix) with ESMTP id ABF5437B986
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 10 Mar 2000 00:24:44 -0800 (PST)
	(envelope-from rmukerji@execpc.com)
Received: from earth.execpc.com (rmukerji@earth.execpc.com [169.207.16.1])
	by mailgw01.execpc.com (8.9.1) id CAA07405
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 10 Mar 2000 02:24:43 -0600
Received: (from rmukerji@localhost) by earth.execpc.com (8.9.0) id CAA21413 for FreeBSD-gnats-submit@freebsd.org; Fri, 10 Mar 2000 02:24:43 -0600 (CST)
Message-Id: <200003100824.CAA21413@earth.execpc.com>
Date: Fri, 10 Mar 2000 02:24:43 -0600 (CST)
From: rmukerji@execpc.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: PATCH to src/sys/pci/pcisupport.c to id 3 more NVidia cards

>Number:         17298
>Category:       kern
>Synopsis:       PATCH to src/sys/pci/pcisupport.c to id 3 more NVidia cards
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    cpiazza
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 10 00:30:01 PST 2000
>Closed-Date:    Sun Mar 12 13:52:00 PST 2000
>Last-Modified:  Sun Mar 12 13:55:24 PST 2000
>Originator:     Arindum Mukerji <rmukerji@execpc.com>
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
>Environment:

FreeBSD playground.testbed.eng 4.0-CURRENT FreeBSD 4.0-CURRENT #15: Thu Mar  9  20:16:33 CST 2000     arm@playground.testbed.eng:/usr/src/sys/compile/HADES  i386
	

>Description:

pcisupport.c doesn't support 3 of the newer NVidia PCI graphics cards. This patch simply
makes it do so.

>How-To-Repeat:

dmesg |grep NVidia for any of these cards... personally I just got fed up of seeing

playground /kernel: pci1: <NVidia model 0101 graphics accelerator> at 0.0 irq 9

:-)

>Fix:
Apply following patch:

Index: pcisupport.c
===================================================================
RCS file: /home/ncvs/src/sys/pci/pcisupport.c,v
retrieving revision 1.152
diff -u -r1.152 pcisupport.c
--- pcisupport.c	2000/02/21 21:46:19	1.152
+++ pcisupport.c	2000/03/10 07:57:55
@@ -1722,6 +1722,12 @@
 			chip = "Riva Ultra Vanta TNT2"; break;
 		case 0x00a0:
 			chip = "Riva Integrated TNT2"; break;
+		case 0x0100:
+			chip = "GeForce 256"; break;
+		case 0x0101:
+			chip = "GeForce DDR"; break;
+		case 0x0103:
+			chip = "Quadro"; break;
 		}
 		break;
 	case 0x12d2:



>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->analyzed 
State-Changed-By: billf 
State-Changed-When: Fri Mar 10 10:41:52 PST 2000 
State-Changed-Why:  
Post release patch, I'll check the crosscheck the usual places for these IDs to verify them. 


Responsible-Changed-From-To: freebsd-bugs->billf 
Responsible-Changed-By: billf 
Responsible-Changed-When: Fri Mar 10 10:41:52 PST 2000 
Responsible-Changed-Why:  
I'll do this post release. 
State-Changed-From-To: analyzed->closed 
State-Changed-By: cpiazza 
State-Changed-When: Sun Mar 12 13:52:00 PST 2000 
State-Changed-Why:  
I committed an equal patch, sorry, but thanks anyway! 


Responsible-Changed-From-To: billf->cpiazza 
Responsible-Changed-By: cpiazza 
Responsible-Changed-When: Sun Mar 12 13:52:00 PST 2000 
Responsible-Changed-Why:  
>Unformatted:
