legacy SCSI miniport PnP issue

Hi Experts,
I have built a legacy SCSI miniport which works fine.
Problem 1.
But when I install using .inf file (with inf entry hw-id PCI\CC_01018A ? compatibility mode).
After reboot device manager shows 2 SCSI adapters based on my driver: ie for primary and secondary channels.
But for the IDE controller for which driver is installed, an exclamation sign with my driver name is shown, but driver working properly.

notable points:

  1. AdapterInterfaceType is set to Isa for HW_INITIALIZATION_DATA in DriverEntry.
  2. In .inf PnPInterface registry entry not specified Services key

Problem 2.
If PnPInterface registry entry for Isa interface is specified it is not hitting HwScsiFindAdapter routine.

How to make it true PnP support for legacy SCSI miniport to tackle both the problems.

Thank you in advance.
Shifu

Use proper PCI VID/PID string, instead of class match

Hi Alex,
I used PCI\VEN_8086&DEV_2920 string in my .inf driver installed succesfuly and working, BUT still
yellow exclamation sign with my driver name is shown.
In case of legacy mode with atapi.sys (MS), controller DEV_2920 shows IO resourec in devce manger-> driver properties tab.
But my driver doesn’t show them.

what extra i shoud do in my driver ?

xxxxx@gmail.com wrote:

I used PCI\VEN_8086&DEV_2920 string in my .inf driver installed succesfuly and working, BUT still
yellow exclamation sign with my driver name is shown.
In case of legacy mode with atapi.sys (MS), controller DEV_2920 shows IO resourec in devce manger-> driver properties tab.
But my driver doesn’t show them.

Did you install this using “devcon install”? If so, that’s the problem,
and perhaps this should be a FAQ.

“devcon install” creates a fake virtual device with the same device ID
string as your device, and then loads your driver to handle that fake
device. If your driver expects to find memory or interrupt resources,
it will be sadly disappointed.

You can install your driver package using “dpinst” or “devcon dp_add”,
which pre-installs your driver, so that it is available for devices that
need it. Alternatively, for a device that already has a driver, you can
use Device Manager “Update Driver”, or “devcon update”.


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