Add an upper filter driver to the stack for your SCSI device that gets the
entry points from the PDO and then uses IOCTL_SCSI_MINIPORT to pass this to
the miniport. You should perhaps make the bus driver export the entry points
as a PnP Interface so the upper filter can use IRP_MN_QUERY_INTERFACE to get
them.
/simgr
-----Original Message-----
From: Keshavamurthy, Anil S [mailto:xxxxx@intel.com]
Sent: Thursday, April 17, 2003 2:32 PM
To: NT Developers Interest List
In my case, there is a bus driver below the scsiminiport to which I need to
talk. The bus driver below scsiminiport exports some driver entry points for
my scsiminiport driver. so I was thinking of getting hold of PDO and then I
can make a call to the lower level driver using that PDO. so my question is
- How can I get PDO
- If I can not get the PDO, how can I talk to bus driver which is below my
scsiminiport driver.
-Anil
-----Original Message-----
From: Jamey Kirby [mailto:xxxxx@storagecraft.com]
Sent: Thursday, April 17, 2003 9:48 AM
To: NT Developers Interest List
Subject: [ntdev] Re: How to get the PDO from Scsiminiport driver

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Gary G. Little
Sent: Wednesday, April 16, 2003 9:26 PM
To: NT Developers Interest List
Subject: [ntdev] Re: How to get the PDO from Scsiminiport driver
Jamey,
If the minport owns the ISR then he doesn’t. But that begs the question
of
why he needs the PDO in a miniport in the first place. A true miniport
only
has an opaque pointer to the driver object which it passes to
ScsiPortInitialize. To do anything with the Driver object he has to
play
outside the sandbox. If that miniport does not own the ISR then that
sandbox is floating in a sewer and things can get smelly very fast.
This really really smells of a virtual miniport and we all know SCSPORT
hates those.
–
Gary G. Little
Have Computer, will travel …
(909) 6983191
(909) 5512105
You are currently subscribed to ntdev as: xxxxx@storagecraft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
You are currently subscribed to ntdev as: xxxxx@intel.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
You are currently subscribed to ntdev as: xxxxx@stratus.com
To unsubscribe send a blank email to xxxxx@lists.osr.com