From owner-freebsd-bugs@FreeBSD.ORG Fri Feb 29 15:00:02 2008 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F38F91065670 for ; Fri, 29 Feb 2008 15:00:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D06ED8FC26 for ; Fri, 29 Feb 2008 15:00:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m1TF01ve047017 for ; Fri, 29 Feb 2008 15:00:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m1TF011r047016; Fri, 29 Feb 2008 15:00:01 GMT (envelope-from gnats) Resent-Date: Fri, 29 Feb 2008 15:00:01 GMT Resent-Message-Id: <200802291500.m1TF011r047016@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Yousif Hassan Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 09D4E1065670 for ; Fri, 29 Feb 2008 14:52:42 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id ECA418FC15 for ; Fri, 29 Feb 2008 14:52:41 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m1TEnoOg064717 for ; Fri, 29 Feb 2008 14:49:50 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m1TEnoZC064716; Fri, 29 Feb 2008 14:49:50 GMT (envelope-from nobody) Message-Id: <200802291449.m1TEnoZC064716@www.freebsd.org> Date: Fri, 29 Feb 2008 14:49:50 GMT From: Yousif Hassan To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: misc/121219: Correct nVidia 8400M GS entry in /usr/share/misc/pci_vendors X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Feb 2008 15:00:02 -0000 >Number: 121219 >Category: misc >Synopsis: Correct nVidia 8400M GS entry in /usr/share/misc/pci_vendors >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Fri Feb 29 15:00:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Yousif Hassan >Release: 7.0-RELEASE >Organization: >Environment: FreeBSD geonosis.far-far-away.us 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Fri Feb 29 07:29:09 EST 2008 root@geonosis.far-far-away.us:/usr/src/sys/i386/compile/GEONOSIS i386 >Description: Simple change to the pci database is needed to properly report an nVidia GeForce 8400M GS. Right now it's incorrectly listed for entry 0427. I know the pci_vendors file is autogenerated so this change should be made upstream? Here's the way it's listed TODAY using pciconf -lv: vgapci0@pci0:1:0:0: class=0x030000 card=0x30cc103c chip=0x042710de rev=0xa1 hdr=0x00 vendor = 'Nvidia Corp' device = 'unknown Geforce 8600' class = display subclass = VGA It should be: vgapci0@pci0:1:0:0: class=0x030000 card=0x30cc103c chip=0x042710de rev=0xa1 hdr=0x00 vendor = 'Nvidia Corp' device = 'GeForce 8400M GS' class = display subclass = VGA >How-To-Repeat: use "pciconf -lv" You have to have this actual card in the computer of course! >Fix: Here's a patch against 7.0-RELEASE (although if the file is auto-generated it has to be fixed someplace else?) ----****----begin patch----****---- --- pci_vendors.orig 2008-02-24 12:52:23.000000000 -0500 +++ pci_vendors 2008-02-29 09:25:54.000000000 -0500 @@ -3239,7 +3239,7 @@ 0422 GeForce 8400 GS 0423 GeForce 8300 GS 0425 GeForce 8600M GS - 0427 unknown Geforce 8600 + 0427 GeForce 8400M GS 0428 GeForce 8400M G 0429 Unknown nVidia Quadro FX 570M 0440 MCP65 LPC Bridge ----****----end patch----****---- Patch attached with submission follows: --- /usr/share/misc/pci_vendors.orig 2008-02-24 12:52:23.000000000 -0500 +++ /usr/share/misc/pci_vendors 2008-02-29 09:25:54.000000000 -0500 @@ -3239,7 +3239,7 @@ 0422 GeForce 8400 GS 0423 GeForce 8300 GS 0425 GeForce 8600M GS - 0427 unknown Geforce 8600 + 0427 GeForce 8400M GS 0428 GeForce 8400M G 0429 Unknown nVidia Quadro FX 570M 0440 MCP65 LPC Bridge >Release-Note: >Audit-Trail: >Unformatted: