On Mon, Feb 22, 2021 at 10:20:41AM +0100, David Marchand wrote: > > diff --git a/windows/netuio/netuio.inf b/windows/netuio/netuio.inf > > index 666a69c..db97366 100644 > > --- a/windows/netuio/netuio.inf > > +++ b/windows/netuio/netuio.inf > > @@ -42,6 +42,7 @@ HKR,,Icon,,-5 > > %Intel.F101F.Description%=netuio_Device, PCI\VEN_8086&DEV_101F > > %Intel.F104F.Description%=netuio_Device, PCI\VEN_8086&DEV_104F > > %Intel.F104E.Description%=netuio_Device, PCI\VEN_8086&DEV_104E > > +%vmxnet3.Description%=netuio_Device, PCI\VEN_15AD&DEV_07B0 > > > > Is there no other way than hardcoding those values in the driver? > Something à la driverctl?
This is how support for vendor / device is expressed for a driver to the Windows PnP subsystem. The device ids listed in the .inf file are used to match the driver when the device is enumerated. It's not really hardcoded though (not compiled anyway) so the list of ids in a .inf can be changed without recompiled it is just a text file. > > > -- > David Marchand