From owner-freebsd-bugs Wed Jun 9 4: 0: 4 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 56C1C153C6 for ; Wed, 9 Jun 1999 04:00:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id EAA53547; Wed, 9 Jun 1999 04:00:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from camel.avias.com (camel.avias.com [195.14.38.87]) by hub.freebsd.org (Postfix) with ESMTP id 4EA4F14E77 for ; Wed, 9 Jun 1999 03:58:04 -0700 (PDT) (envelope-from camel@camel.avias.com) Received: (from camel@localhost) by camel.avias.com (8.9.3/8.9.3) id OAA62680; Wed, 9 Jun 1999 14:58:55 +0400 (MSD) (envelope-from camel) Message-Id: <199906091058.OAA62680@camel.avias.com> Date: Wed, 9 Jun 1999 14:58:55 +0400 (MSD) From: camel@avias.com Reply-To: camel@avias.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: kern/12094: NVidia Riva128/TNT support Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 12094 >Category: kern >Synopsis: NVidia Riva128/TNT support >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: Wed Jun 9 04:00:01 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Ilya Naumov >Release: FreeBSD 4.0-CURRENT i386 >Organization: NIIAVIA >Environment: FreeBSD camel.avias.com 4.0-CURRENT FreeBSD 4.0-CURRENT #3: Fri Jun 4 16:35:25 MSD 1999 root@camel.avias.com:/usr/src/sys/compile/CAMEL i386 >Description: I have added support for NVidia Riva128 and Riva TNT chipsets into Catchcall driver for VGA devices, and I would be happy to see it in future FreeBSD kernels. the patch is provided below. by the way, I have an ability to test Vendor/Device ID pairs for some other video devices. is core develolpers team interested in it? >How-To-Repeat: >Fix: here is the patch: --- pcisupport.old Wed Jun 9 00:47:58 1999 +++ pcisupport.c Wed Jun 9 00:47:07 1999 @@ -1500,6 +1500,22 @@ chip = "PerMedia"; break; } break; + case 0x10de: + vendor = "NVidia"; + type = "graphics accelerator"; + switch (id >> 16) { + case 0x0020: + chip = "Riva TNT"; break; + } + break; + case 0x12d2: + vendor = "NVidia"; + type = "graphics accelerator"; + switch (id >> 16) { + case 0x0018: + chip = "Riva128"; break; + } + break; } if (vendor && chip) { >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message