Device match in INF

Can anyone point me to the right direction on how to match the supported devices from INF?

For example, I want to support ONLY PCI\VEN_1000&DEV_0100

The driver load OK to match the devices, but it also match the other devices taht are below to VEN=1000

am I missing anything?

Thanks.

I meant to say “Belong to VEN=1000” …

xxxxx@gmail.com wrote:

Can anyone point me to the right direction on how to match the supported devices from INF?

For example, I want to support ONLY PCI\VEN_1000&DEV_0100

The driver load OK to match the devices, but it also match the other devices taht are below to VEN=1000

am I missing anything?

I don’t understand the question. If you have this in your device list
section:

[DeviceList]
%description% = install, PCI\VEN_1000&DEV_0100

Then it will only match devices with that exact vendor and device ID.
Perhaps you should post your whole INF.


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.

Thanks, Tim.

Here is the piece of the INF

[Manufacturer]
%TEST%=TEST_DRV,NTamd64

[TEST_DRV.NTamd64]
%PCI\VEN_1000&DEV_0100.DeviceDesc%= TEST_Inst, PCI\VEN_1000&DEV_0100

No there places in my INF has these IDs specified.

Thanks,

xxxxx@gmail.com wrote:

Here is the piece of the INF

[Manufacturer]
%TEST%=TEST_DRV,NTamd64

[TEST_DRV.NTamd64]
%PCI\VEN_1000&DEV_0100.DeviceDesc%= TEST_Inst, PCI\VEN_1000&DEV_0100

No there places in my INF has these IDs specified.

Why not send the whole INF? You have committed a very common sin here.
You have sent only a very tiny portion of your code, because in your
mind you’re thinking “none of the rest of this could possibly make a
difference”, when in fact it’s quite clear that it IS something in the
rest of it that’s causing the problem.

Nothing in the four lines you have posted would cause this INF to match
any other device, obviously. So, either your INF does not really say
this, or you have another INF already installed that is matching these
other devices. If you go in the registry, or in Device Manager under
“Details”, you can see exactly which INF and which section was matched
by a particular device. I suspect that will lead to your answer.


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.