Subject: Re: PCI Sub-vendor/sub-product IDs
To: None <tech-kern@netbsd.org>
From: =?ISO-8859-1?Q?St=E9phane?= Witzmann <stephane.witzmann@gmail.com>
List: tech-kern
Date: 04/17/2006 04:16:02
Quentin Garnier wrote:

> Hi folks,
> 
> While I'm glad auich.c has been fixed for some motherboards, I'm a bit
> disgusted by the use of raw IDs for sub-vendor and sub-product matching.
> 
> I'm proposing the attached patch to store them in pcidevs (and I leave
> the auich.c changes as an exercise to the reader).  I'm not 100%
> positive that the 0x161f sub-vendor ID used in auich.c is always
> Rioworks but I'd say it's likely enough to be true.  The patch leaves
> the option to have "subvendor" entries, anyway.
> 
> Should pci_findvendor(9) and pci_devinfo(9) be change to have one more
> parameter that asks for sub-product stuff, or can it wait for when it's
> actually useful?
> 
> Comments?
> 

If this is merged, then the (recently added) Turtle Beach Santa Cruz entry
in pcidevs should be moved as subproduct. clcs(4) would have to be modified
accordingly.