PCI Driver supports 2 different devices, how do I specify which device to use?
I am writing a driver that supports 2 different but similar devices. I am doing this so that the same library APIs can be used when writing apps for each device. I've got it working and everything runs fine for both devices when they're on separate machines, but I want to be able to have both devices on the same machine and specify which device to use in the user space app.
How do I specify which of the 2 devices I want to use in a user space app?