Subject: kern/32695: incorrect PCI device id
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <ctuffli@gmail.com>
List: netbsd-bugs
Date: 02/02/2006 01:25:00
>Number:         32695
>Category:       kern
>Synopsis:       incorrect PCI device id
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Feb 02 01:25:00 +0000 2006
>Originator:     Chuck Tuffli
>Release:        
>Organization:
>Environment:
>Description:
The value used in src/sys/dev/pci/pcidevs for "product CMDTECH 3132" is incorrectly listed as 3124 (probably a cut-n-paste error).
>How-To-Repeat:
pcictl will report the device as

    Vendor Name: CMD Technology (0x1095)
    Device ID: 0x3132

instead of

    Vendor Name: CMD Technology (0x1095)
    Device Name: SiI3132 SATALink (0x3132)
>Fix:
[136] diff -urN pcidevs{_orig,}
--- pcidevs_orig        Wed Feb  1 17:13:07 2006
+++ pcidevs     Wed Feb  1 17:14:08 2006
@@ -1291,7 +1291,7 @@
 product CMDTECH 3512           0x3512  SiI3512 SATALink
 product CMDTECH 3114           0x3114  SiI3114 SATALink
 product CMDTECH 3124           0x3124  SiI3124 SATALink
-product CMDTECH 3132           0x3124  SiI3132 SATALink
+product CMDTECH 3132           0x3132  SiI3132 SATALink

 /* C-Media products */
 product CMEDIA CMI8338A                0x0100  CMI8338A PCI Audio Device