Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Mar 2000 02:24:43 -0600 (CST)
From:      rmukerji@execpc.com
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   kern/17298: PATCH to src/sys/pci/pcisupport.c to id 3 more NVidia cards
Message-ID:  <200003100824.CAA21413@earth.execpc.com>

next in thread | raw e-mail | index | archive | help

>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:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 10 00:30:01 PST 2000
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200003100824.CAA21413>