As I recall, we discussed doing this in a seminar taught by Jamie Hanrahan.
Either he or Brian Caitlin could probably tell you how. The note that I took
indicates you simply call IoAttachToDeviceStack on the bus drivers PDO. But
that’s been 8 months ago and my notes have gone cold.
Gary
-----Original Message-----
From: COX,DAVID (HP-Roseville,ex1) [mailto:david_cox2@hp.com]
Sent: Tuesday, October 10, 2000 2:40 PM
To: NT Developers Interest List
Subject: [ntdev] RE: ScsiPort Filter Driver
Yes, it’s very clever. I wish I’d had brains enough to discover a
sample in the DDK instead of reinventing it myself.
But…
- He explictly mentioned the disk class driver.
- In some hands, a little bit of information can be dangerous.
Dave Cox
Hewlett-Packard Co.
HPSO/SMSO (Santa Barbara)
https://ecardfile.com/id/Dave+Cox
-----Original Message-----
From: Roddy, Mark [mailto:xxxxx@stratus.com]
Sent: Tuesday, October 10, 2000 1:08 PM
To: NT Developers Interest List
Subject: [ntdev] RE: ScsiPort Filter Driver
Where do you want your filter device object(s):
- Above the SCSI port FDO; or
- Between the SCSI LUN PDO and the disk FDO?
For the former, you want to be in SCSI adapter UpperFilters; your
AddDevice() routine will be invoked with the host adapter’s PDO after
the SCSI miniport has attached its FDO.
For the latter you want to be in disk LowerFilters. Your AddDevice()
will be passed the LUN PDO before the disk driver’s AddDevice().
If on the other hand you want to filter all scsiport PDOs, not just Disk
PDOs, then a disk lowerfilter will not do it, nor will a scsiport FDO upper
filter. What you want instead is a BUS PDO filter driver, and that is
unfortunately not documented functionality in W2K, although at least one
microsoft device driver (acpi if I recall correctly,) implements it.
Mark Roddy
xxxxx@hollistech.com
www.hollistech.com
WindowsNT Windows 2000 Consulting Services
You are currently subscribed to ntdev as: david_cox2@hp.com
To unsubscribe send a blank email to $subst(‘Email.Unsub’)
You are currently subscribed to ntdev as: xxxxx@broadstor.com
To unsubscribe send a blank email to $subst(‘Email.Unsub’)