Driver Communication from Filter driver to the Miniport

Dear all:

I have a upper disk class filter driver that use IOCTL_SCSI_MINIPORT to
communicate with the miniport, using the target PDO passed in the
AddDevice routine, to get some adapter speciific information from the
miniport. It turns out that this method is no longer supported in
Windows.NET. My filter driver need a way to get some specific adapter
information for the disk object that is being filtered.

Can someone help on this? Thanks,

Is the issue that you can’t issue miniport IOCTLs at add-device time?
Can you wait until you receive a START request?

-p

-----Original Message-----
From: xxxxx@yahoo.com [mailto:xxxxx@yahoo.com]
Sent: Thursday, August 08, 2002 1:09 PM
To: NT Developers Interest List
Subject: [ntdev] Driver Communication from Filter driver to the Miniport

Dear all:

I have a upper disk class filter driver that use IOCTL_SCSI_MINIPORT to
communicate with the miniport, using the target PDO passed in the
AddDevice routine, to get some adapter speciific information from the
miniport. It turns out that this method is no longer supported in
Windows.NET. My filter driver need a way to get some specific adapter
information for the disk object that is being filtered.

Can someone help on this? Thanks,


You are currently subscribed to ntdev as: xxxxx@microsoft.com To
unsubscribe send a blank email to %%email.unsub%%

Peter:

I use the debugger and found the problem is that the
ScsiPortPdoDeviceControl routine does not pass down the Ioctl to the
miniport. The routine only handles IOCTL_STORAGE_QUERY_PROPERTY,
IOCTL_SCSI_GET_ADDRESS, and both IOCTL_SCSI_PASS_THROUGH and
PASS_THROUGH_DIRECT IOCTL; in Win2k, all other IOCTLs will get passed down
to the next in the stack.
I can try using the information returned by using the
IOCTL_STORAGE_QUERY_PROPERTY, however, it does not contain certain
information I need from the miniport/adapter; for example, as an
experiment, I want to use a function in the miniport which is
adapter/implementation specific, if the filter driver can get the function
pointer from the specific miniport, than the filter driver can be more
generic.
I have not tried waiting until the START command, does it go through the
same ScsiPortPdoDeviceControl routine? Any other suggestion for me to try?

Thanks,