On 15:25 Tue 11 Oct , Brad wrote: > On 11/10/11 10:26 AM, Sergey Bronnikov wrote: > > 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. > > The diff is wrong as is. Add the new vendor id as PARALLELS2. Also > the vendor id wasn't sorted properly.. add it in between AWT and > FUSIONIO up above. Look at the Adaptec entries for an example of > how to do this.
fixed patch attached > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean. > -- 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 20:30:42 -0000 @@ -311,6 +311,7 @@ vendor JMICRON 0x197b JMicron vendor PHISON 0x1987 Phison vendor ASPEED 0x1a03 ASPEED Technology vendor AWT 0x1a3b AWT +vendor PARALLELS2 0x1ab8 Parallels vendor FUSIONIO 0x1aed Fusion-io vendor QUMRANET 0x1af4 Qumranet vendor ASMEDIA 0x1b21 ASMedia @@ -4683,6 +4684,8 @@ product PE GNIC2 0x0911 PMC/GNIC2 /* Parallels products */ product PARALLELS TOOLS 0x1112 Tools product PARALLELS VIDEO 0x1121 Video +product PARALLELS TOOLS2 0x4000 Tools +product PARALLELS VIDEO2 0x4005 Video /* PC Tech products */ product PCTECH RZ1000 0x1000 RZ1000
