Bug 121219

Summary: Correct nVidia 8400M GS entry in /usr/share/misc/pci_vendors
Product: Base System Reporter: Yousif Hassan <yousif>
Component: confAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 7.0-RELEASE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Yousif Hassan 2008-02-29 15:00:01 UTC
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

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:
How-To-Repeat: use "pciconf -lv"

You have to have this actual card in the computer of course!
Comment 1 Gavin Atkinson freebsd_committer freebsd_triage 2008-02-29 17:00:54 UTC
This has already been corrected upstream, so requires a new import.
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2008-02-29 23:17:51 UTC
State Changed
From-To: open->suspended

Awaiting upstream import.
Comment 3 Edwin Groothuis freebsd_committer freebsd_triage 2009-06-06 14:37:12 UTC
State Changed
From-To: suspended->closed

Commited to head, MFC in one week. 
Thanks for your patience.