Usually pci vendor and products id generated in source tree 
from sys/dev/pcidevs. 
But that file has wrong vendor and product id's for Parallels
virtual devices.

I am change it to proper values:

        vga1 at pci1 dev 0 function 0 "Parallels Video" rev 0x00
        wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
        wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
        "Parallels Tools" rev 0x00 at pci0 dev 3 function 0 not configured

Please review and commit patch.

P.S. cvs annotate shows me source of that incorrect data:
1.1082       (brad     25-Jun-06): vendor       PARALLELS       0xaaaa  
Parallels
1.1082       (brad     25-Jun-06): /* Parallels products */
1.1082       (brad     25-Jun-06): product PARALLELS TOOLS              0x1112  
Tools
1.1082       (brad     25-Jun-06): product PARALLELS VIDEO              0x1121  
Video

-- 
sergeyb@
Index: pcidevs
===================================================================
RCS file: /home/estet/source/openbsd/src/sys/dev/pci/pcidevs,v
retrieving revision 1.1623
diff -u -p -r1.1623 pcidevs
--- pcidevs     23 Sep 2011 08:54:25 -0000      1.1623
+++ pcidevs     11 Oct 2011 14:19:50 -0000
@@ -343,7 +343,7 @@ vendor      ADP             0x9004  Adaptec
 vendor ADP2            0x9005  Adaptec
 vendor ATRONICS        0x907f  Atronics
 vendor NETMOS          0x9710  NetMos
-vendor PARALLELS       0xaaaa  Parallels
+vendor PARALLELS       0x1ab8  Parallels
 vendor 3COM2           0xa727  3Com
 vendor TIGERJET        0xe159  TigerJet Network
 vendor ENDACE          0xeace  Endace
@@ -4681,8 +4681,8 @@ product PDC QSTOR_SATA            0x2068  QStor SAT
 product PE GNIC2               0x0911  PMC/GNIC2
 
 /* Parallels products */
-product PARALLELS TOOLS                0x1112  Tools
-product PARALLELS VIDEO                0x1121  Video
+product PARALLELS TOOLS                0x4000  Tools
+product PARALLELS VIDEO                0x4005  Video
 
 /* PC Tech products */
 product PCTECH RZ1000          0x1000  RZ1000

Reply via email to