Re: Sending custom IOCTL to a STORPORT miniport driver
- From: "Gary G. Little" <gary.g.little@xxxxxxxxxxx>
- Date: Sun, 20 Jan 2008 12:27:58 -0600
Max,
The SRB_IO_CONTROL structure uses an 8 byte Signature field and a 32 bit
ControlCode field. Those two fields are defined by and are unique for each
vendor. I know what they are for LSI because I have the LSI docs that define
them, have used them and know the IOCTL_SCSI_MINIPORT works, but what works
for LSI will not work for Adaptec. The SCSIPORT miniport will verify the
contents of those two fields and bounce the request if it does not like what
it sees.
Gary
"Maxim S. Shatskih" <maxim@xxxxxxxxxxxxxxxx> wrote in message
news:Oj6ziZFWIHA.3556@xxxxxxxxxxxxxxxxxxxxxxx
What are these fields namely?
--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@xxxxxxxxxxxxxxxx
http://www.storagecraft.com
"Gary G. Little" <gary.g.little@xxxxxxxxxxx> wrote in message
news:478bb01e$0$7427$88260bb3@xxxxxxxxxxxxxxxxxxxx
For IOCTL_SCSI_MINIPORT, the SRB_IO_CONTROL structure contains OEMhttp://www.tech-archive.net/Archive/Development/microsoft.public.development.device.drivers/2005-01/0995.html
private
fields that require you to get that information from the driver
manufacturor. Do you have that information, and is it correct for the
firmware in the HBA?
--
The personal opinion of
Gary G. Little
"Maxim" <Maxim@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:7A2591DC-9B17-4D54-9E7C-E41AEC9AF8E7@xxxxxxxxxxxxxxxx
I would much rather send IOCTL_SCSI_MINIPORT to \\.\physicaldriveX as
well.
However, it doesn't work - fails with error code 1 (incorrect
function).
Only works with \\.\scsiX:.
I think I found a thread from a few years back where people including
yourself talk about a similar problem as well:
My impression from that discussion is that I should be able to send
IOCTL_SCSI_MINIPORT to \\.\physicaldriveX, but thats not the case.
.
- References:
- Re: Sending custom IOCTL to a STORPORT miniport driver
- From: Maxim S. Shatskih
- Re: Sending custom IOCTL to a STORPORT miniport driver
- From: Gary G. Little
- Re: Sending custom IOCTL to a STORPORT miniport driver
- From: Maxim S. Shatskih
- Re: Sending custom IOCTL to a STORPORT miniport driver
- Prev by Date: Re: METHOD_NEITHER and buffer alignment
- Next by Date: Re: Sending custom IOCTL to a STORPORT miniport driver
- Previous by thread: Re: Sending custom IOCTL to a STORPORT miniport driver
- Next by thread: Re: Sending custom IOCTL to a STORPORT miniport driver
- Index(es):
Relevant Pages
|