From nobody@FreeBSD.org  Fri Feb 29 14:52:42 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 09D4E1065670
	for <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <yousif@alumni.jmu.edu>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Correct nVidia 8400M GS entry in /usr/share/misc/pci_vendors
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         121219
>Category:       conf
>Synopsis:       Correct nVidia 8400M GS entry in /usr/share/misc/pci_vendors
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 29 15:00:01 UTC 2008
>Closed-Date:    Sat Jun 06 13:37:46 UTC 2009
>Last-Modified:  Sat Jun 06 13:37:46 UTC 2009
>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:

From: Gavin Atkinson <gavin@FreeBSD.org>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: misc/121219: Correct nVidia 8400M GS entry in
	/usr/share/misc/pci_vendors
Date: Fri, 29 Feb 2008 17:00:54 +0000

 This has already been corrected upstream, so requires a new import.
State-Changed-From-To: open->suspended 
State-Changed-By: linimon 
State-Changed-When: Fri Feb 29 23:17:51 UTC 2008 
State-Changed-Why:  
Awaiting upstream import. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=121219 
State-Changed-From-To: suspended->closed 
State-Changed-By: edwin 
State-Changed-When: Sat Jun 6 13:37:12 UTC 2009 
State-Changed-Why:  
Commited to head, MFC in one week. 
Thanks for your patience. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=121219 
>Unformatted:
